Fix mobs on_change
This commit is contained in:
parent
35819568fb
commit
1b14158871
2
plan.py
2
plan.py
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue