changeset 0b962a3a2b3f in modules/stock_package_shipping:5.6
details: 
https://hg.tryton.org/modules/stock_package_shipping?cmd=changeset&node=0b962a3a2b3f
description:
        Allow editing shipment reference

        This is needed when we need to recreate the shipping if the carrier 
APIs did
        not work correctly.

        issue10310
        review345991002
        (grafted from 4882b62f21196c0ea7b8956176aa5ebaffd730aa)
diffstat:

 stock.py |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r e8a07421fbe6 -r 0b962a3a2b3f stock.py
--- a/stock.py  Fri Jan 01 17:17:00 2021 +0100
+++ b/stock.py  Fri Apr 23 20:27:58 2021 +0200
@@ -119,8 +119,6 @@
     @classmethod
     def __setup__(cls):
         super(ShipmentOut, cls).__setup__()
-        # The shipment reference will be set by the shipping service
-        cls.reference.readonly = True
         cls._buttons.update({
                 'create_shipping': {
                     'invisible': (Eval('reference', False)

Reply via email to