Fix bug in on_change_with_uom_category introduced in last commit
This commit is contained in:
parent
c3fabe8c97
commit
25c244456e
2
plan.py
2
plan.py
|
@ -566,7 +566,7 @@ class PlanProductLine(ModelSQL, ModelView):
|
|||
res['product_cost_price'] = None
|
||||
return res
|
||||
|
||||
@fields.depends('children', '_parent_plan.uom' 'product', 'uom', 'plan')
|
||||
@fields.depends('children', '_parent_plan.uom', 'product', 'uom', 'plan')
|
||||
def on_change_with_uom_category(self, name=None):
|
||||
if self.children:
|
||||
# If product line has children, it must be have computable
|
||||
|
|
Loading…
Reference in New Issue