[FIX] mrp_workorder: Qualitiy point on Kit

Steps to reproduce the bug:

- Create a BOM kit K with two components C1 and C2

Bug:

It was possible to set an operation on K

PS: Operation is not supported on BOM kit

opw:2393302

closes odoo/odoo#62455

X-original-commit: 2027721601890870e14b396ae4bb8b6c6dea1ac0
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
This commit is contained in:
Goffin Simon
2020-11-26 17:14:59 +00:00
parent ec8815852f
commit e50b8ae8df
+1 -1
View File
@@ -98,7 +98,7 @@
</page>
<page string="Operations"
name="operations"
attrs="{'invisible': [('type','not in',('normal','phantom'))]}"
attrs="{'invisible': [('type', '!=', 'normal')]}"
groups="mrp.group_mrp_routings">
<field name="operation_ids"
attrs="{'invisible': [('type','not in',('normal','phantom'))]}"