From af89f994a5ba00a10359df6b05c34eb0387950c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 15 Oct 2022 20:56:32 +0200 Subject: [PATCH] Remove unused method _incoterm_editable_states issue11786 review424081003 --- purchase.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/purchase.py b/purchase.py index 840d84279e..e87f90fbea 100644 --- a/purchase.py +++ b/purchase.py @@ -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'}