summaryrefslogtreecommitdiff
path: root/addons/mrp
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2020-11-26 15:21:10 +0000
committerGoffin Simon <sig@odoo.com>2020-11-26 15:21:10 +0000
commit2027721601890870e14b396ae4bb8b6c6dea1ac0 (patch)
tree672344eac5693c5ca2f65f962905d7855b3921b4 /addons/mrp
parent08b79883d44e44791760cfbba498eb9a3f47f945 (diff)
[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#62427 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/mrp')
-rw-r--r--addons/mrp/views/mrp_bom_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp/views/mrp_bom_views.xml b/addons/mrp/views/mrp_bom_views.xml
index a789c5aea2a..66801536aef 100644
--- a/addons/mrp/views/mrp_bom_views.xml
+++ b/addons/mrp/views/mrp_bom_views.xml
@@ -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'))]}"