This commit is contained in:
2026-03-16 10:23:13 +01:00
parent 8e7f9648fc
commit b4d09d3a69

View File

@@ -72,7 +72,7 @@ class Fee(ModelSQL,ModelView):
states={ states={
'readonly': (Bool(Eval('mode') != 'ppack') & Bool(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.Many2One('product.uom.category',"Packing Category"),'get_packing_category')
inherit_shipment = fields.Boolean("Inh Sh",states={ inherit_shipment = fields.Boolean("Inh Sh",states={
'invisible': (Eval('shipment_in')), 'invisible': (Eval('shipment_in')),
}) })