From 3ad2ae2624b8e94c8de55030124cc2b70f07b9c4 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Mon, 16 Mar 2026 15:24:46 +0100 Subject: [PATCH] 16.03.26 --- modules/purchase_trade/fee.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/purchase_trade/fee.py b/modules/purchase_trade/fee.py index 7445af2..c186130 100755 --- a/modules/purchase_trade/fee.py +++ b/modules/purchase_trade/fee.py @@ -71,7 +71,8 @@ class Fee(ModelSQL,ModelView): ], states={ 'readonly': (Bool(Eval('mode') != 'ppack') & Bool(Eval('mode') != 'perqt')), - }) + } + depends=['mode', 'packing_category'],) packing_category = fields.Function(fields.Many2One('product.uom.category',"Packing Category"),'on_change_with_packing_category') inherit_shipment = fields.Boolean("Inh Sh",states={ 'invisible': (Eval('shipment_in')),