Remove unused method _incoterm_editable_states
issue11786 review424081003
This commit is contained in:
@@ -47,11 +47,6 @@ class RequestQuotation(IncotermMixin, metaclass=PoolMeta):
|
||||
super().__setup__()
|
||||
cls.incoterm_location.search_context['incoterm_type'] = 'purchase'
|
||||
|
||||
@classmethod
|
||||
def _incoterm_editable_states(cls):
|
||||
return ~Eval('state').in_(
|
||||
['draft', 'sent', 'rejected', 'received', 'cancelled']), ['state']
|
||||
|
||||
@classmethod
|
||||
def _incoterm_related_party(cls):
|
||||
return Eval('supplier'), {'supplier'}
|
||||
|
||||
Reference in New Issue
Block a user