@@ -619,15 +619,6 @@ def _sequence_year_range_monthly_regex(self):
619619 compute = '_compute_is_being_sent'
620620 )
621621
622- move_sent_values = fields .Selection (
623- selection = [
624- ('sent' , 'Sent' ),
625- ('not_sent' , 'Not Sent' ),
626- ],
627- string = 'Sent' ,
628- compute = 'compute_move_sent_values' ,
629- search = '_search_move_sent_values' ,
630- )
631622 invoice_user_id = fields .Many2one (
632623 string = 'Salesperson' ,
633624 comodel_name = 'res.users' ,
@@ -795,19 +786,6 @@ def _compute_is_being_sent(self):
795786 for move in self :
796787 move .is_being_sent = bool (move .sending_data )
797788
798- @api .depends ('is_move_sent' )
799- def compute_move_sent_values (self ):
800- for move in self :
801- move .move_sent_values = 'sent' if move .is_move_sent else 'not_sent'
802-
803- def _search_move_sent_values (self , operator , value ):
804- if operator in ('=' , '!=' ):
805- if value == 'sent' :
806- return [('is_move_sent' , operator , True )]
807- if value == 'not_sent' :
808- return [('is_move_sent' , operator , False )]
809- raise NotImplementedError
810-
811789 def _compute_payment_reference (self ):
812790 for move in self .filtered (lambda m : (
813791 m .state == 'posted'
0 commit comments