From fc480402b38b8efdd2bc97e9d0a4386a9d96f856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 23 Apr 2021 20:27:58 +0200 Subject: [PATCH] Allow editing shipment reference This is needed when we need to recreate the shipping if the carrier APIs did not work correctly. issue10310 review345991002 --- stock.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/stock.py b/stock.py index b0ba65da81..6cbf13e0dc 100644 --- a/stock.py +++ b/stock.py @@ -185,8 +185,6 @@ class ShippingMixin: @classmethod def __setup__(cls): super().__setup__() - # The shipment reference will be set by the shipping service - cls.reference.readonly = True cls._buttons.update({ 'create_shipping': { 'invisible': (Eval('reference', False)