Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
08bd9366 by Maxime Richez at 2023-03-24T15:02:26+01:00
Remove useless readonly state on package field in move

The changeset 3423f15dfcbd added readonly without removing states.
- - - - -


1 changed file:

- modules/stock_package/stock.py


Changes:

=====================================
modules/stock_package/stock.py
=====================================
@@ -374,10 +374,7 @@
         'stock.package', "Package", readonly=True,
         domain=[
             ('company', '=', Eval('company', -1)),
-            ],
-        states={
-            'readonly': Eval('state') == 'cancelled',
-            })
+            ])
 
     @property
     def package_path(self):



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/08bd9366f736358832a7a25d6ed6413d2c20a026

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/08bd9366f736358832a7a25d6ed6413d2c20a026
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to