Fix mobs on_change

This commit is contained in:
?ngel ?lvarez 2014-05-06 14:47:55 +02:00
parent 35819568fb
commit 1b14158871
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Plan(ModelSQL, ModelView):
('output_products', '=', Eval('product', 0)),
])
boms = fields.One2Many('product.cost.plan.bom_line', 'plan', 'BOMs',
on_change_with=['bom', 'boms'])
on_change_with=['bom', 'boms', 'product'])
products = fields.One2Many('product.cost.plan.product_line', 'plan',
'Products', on_change=['products', 'costs'])
products_tree = fields.Function(