This commit is contained in:
2026-03-13 14:28:23 +01:00
parent 016112a355
commit cc5f4da38c

View File

@@ -70,7 +70,7 @@ class Fee(ModelSQL,ModelView):
()), ()),
], ],
states={ states={
'readonly': (Eval('mode') != 'ppack' & Eval('mode') != 'perqt'), 'readonly': (Bool(Eval('mode') != 'ppack') & Bool(Eval('mode') != 'perqt')),
}) })
packing_category = fields.Function(fields.Integer("Packing Category"),'get_packing_category') packing_category = fields.Function(fields.Integer("Packing Category"),'get_packing_category')
inherit_shipment = fields.Boolean("Inh Sh",states={ inherit_shipment = fields.Boolean("Inh Sh",states={