diff --git a/stock.py b/stock.py index d30303e3b1..82b7fc14f1 100644 --- a/stock.py +++ b/stock.py @@ -89,7 +89,7 @@ class _ShipmentMixin: __slots__ = () _states = { - 'readonly': Eval('state') != 'draft', + 'readonly': Eval('shipment_cost_readonly', True), } carriages = fields.One2Many(