This commit is contained in:
2026-03-16 15:40:19 +01:00
parent bbb88dbd22
commit 185f26f31b

View File

@@ -111,6 +111,7 @@ class Fee(ModelSQL,ModelView):
if lqt:
return lqt[0].id
@fields.depends('mode','unit')
def on_change_with_packing_category(self, name=None):
UnitCategory = Pool().get('product.uom.category')
packing = UnitCategory.search(['name','=','Packing'])