changeset 959e711bcf2e in modules/stock_shipment_measurements:default details: https://hg.tryton.org/modules/stock_shipment_measurements?cmd=changeset&node=959e711bcf2e description: Send only the required fields when fetching a readonly view definition
issue11134 review380081002 diffstat: stock.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diffs (13 lines): diff -r 404e5da2f5fc -r 959e711bcf2e stock.py --- a/stock.py Wed Apr 06 23:37:44 2022 +0200 +++ b/stock.py Fri Apr 08 19:07:14 2022 +0200 @@ -368,8 +368,7 @@ 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',