diff --git a/stock.py b/stock.py index 83bc07a044..fe815e5c2b 100644 --- a/stock.py +++ b/stock.py @@ -368,8 +368,7 @@ class Package(MeasurementsMixin, object, metaclass=PoolMeta): domain=[('category', '=', Id('product', 'uom_cat_weight'))], states={ 'required': Bool(Eval('additional_weight')), - }, - depends=['additional_weight']) + }) total_weight = fields.Function( fields.Float( "Total Weight", digits='weight_uom',