Fix bug in on_change_with_uom_category introduced in last commit

This commit is contained in:
Guillem Barba 2015-04-13 13:25:01 +02:00
parent c3fabe8c97
commit 25c244456e
1 changed files with 1 additions and 1 deletions

View File

@ -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