summaryrefslogtreecommitdiff
path: root/setup/setup_dev.py
diff options
context:
space:
mode:
authorTony Gu <tony@openerp.cn>2018-04-28 09:50:53 +0800
committerJosse Colpaert <jco@odoo.com>2018-06-12 10:21:40 +0200
commit45a179d93c3d28e51a1f1dc01fa34ad7667cab3e (patch)
tree46250e2cfae15f22b70e7753b9471054587d2e21 /setup/setup_dev.py
parent9032617120138848c63b3cfa5d1913c5e5ad76db (diff)
[FIX] mrp: Unrelated product_template and product_product on the same BOM
Before this fix, we can create a Bom with both product_id and product_tmpl_id filled where the product_id is not a variant of the product_tmpl_id. This is unlogical and will be even trickier when the user is not able to see the variant field on the BOM. This fix puts the product_id back to False when the product_tmpl_id is changed.
Diffstat (limited to 'setup/setup_dev.py')
0 files changed, 0 insertions, 0 deletions