File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -608,14 +608,6 @@ def _sequence_year_range_monthly_regex(self):
608608 compute = '_compute_is_being_sent'
609609 )
610610
611- move_sent_values = fields .Selection (
612- selection = [
613- ('sent' , 'Sent' ),
614- ('not_sent' , 'Not Sent' ),
615- ],
616- string = 'Sent' ,
617- compute = 'compute_move_sent_values' ,
618- )
619611 invoice_user_id = fields .Many2one (
620612 string = 'Salesperson' ,
621613 comodel_name = 'res.users' ,
@@ -783,11 +775,6 @@ def _compute_is_being_sent(self):
783775 for move in self :
784776 move .is_being_sent = bool (move .sending_data )
785777
786- @api .depends ('is_move_sent' )
787- def compute_move_sent_values (self ):
788- for move in self :
789- move .move_sent_values = 'sent' if move .is_move_sent else 'not_sent'
790-
791778 def _compute_payment_reference (self ):
792779 for move in self .filtered (lambda m : (
793780 m .state == 'posted'
Original file line number Diff line number Diff line change 548548 invisible =" payment_state == 'invoicing_legacy' or move_type == 'entry'"
549549 optional =" show"
550550 />
551- <field name =" move_sent_values"
552- string =" Sent"
553- widget =" badge"
554- decoration-success =" move_sent_values == 'sent'"
555- decoration-danger =" move_sent_values == 'not_sent'"
556- column_invisible =" context.get('default_move_type') not in ('out_invoice', 'out_refund', 'out_receipt')"
557- optional =" hide"
558- />
559551 <field name =" move_type" column_invisible =" context.get('default_move_type', True)" />
560552 <field name =" abnormal_amount_warning" column_invisible =" 1" />
561553 <field name =" abnormal_date_warning" column_invisible =" 1" />
You can’t perform that action at this time.
0 commit comments