changeset 9cb63f87123c in modules/stock_lot_unit:default details: https://hg.tryton.org/modules/stock_lot_unit?cmd=changeset&node=9cb63f87123c description: Send only the required fields when fetching a readonly view definition
issue11134 review380081002 diffstat: product.py | 1 - stock.py | 2 -- 2 files changed, 0 insertions(+), 3 deletions(-) diffs (30 lines): diff -r 27aee08d2f4e -r 9cb63f87123c product.py --- a/product.py Fri Apr 08 18:58:33 2022 +0200 +++ b/product.py Fri Apr 08 19:07:14 2022 +0200 @@ -16,7 +16,6 @@ states={ 'invisible': Eval('type') == 'service', }, - depends=['type', 'default_uom_category'], help="The default unit for lot.") diff -r 27aee08d2f4e -r 9cb63f87123c stock.py --- a/stock.py Fri Apr 08 18:58:33 2022 +0200 +++ b/stock.py Fri Apr 08 19:07:14 2022 +0200 @@ -17,7 +17,6 @@ domain=[ ('category', '=', Eval('product_default_uom_category', -1)), ], - depends=['product_default_uom_category'], help="The biggest unit for the lot.") unit_quantity = fields.Float( "Unit Quantity", digits='unit', @@ -25,7 +24,6 @@ 'required': Bool(Eval('unit')), 'invisible': ~Eval('unit'), }, - depends=['unit'], help="The maximal quantity for the lot.") product_default_uom_category = fields.Function(