Remove unused method _incoterm_editable_states

issue11786
review424081003
This commit is contained in:
Cédric Krier
2022-10-15 20:56:32 +02:00
parent 2c136abeee
commit af89f994a5
-5
View File
@@ -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'}