summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2019-01-08 08:47:53 +0000
committerChristophe Monniez <moc@odoo.com>2019-01-08 08:47:53 +0000
commit6366c24499586fefdb1ec74f0045bbd8885d992a (patch)
tree29a6ff012f05fe007d521e5bccb31409e80a1129
parent652cecffdebfb09c0b96f7aabf9711a30f4d3bcd (diff)
[FIX] test_main_flows: open operations menu in enterprise only
In community, when entering the Manufacturing app, the first view is the Manufacturing orders list view as it's not the case in enterpise, the two steps are only necessary in enterprise. Note: even if it fix the tour, the main bug could still be there. closes odoo/odoo#30016
-rw-r--r--odoo/addons/test_main_flows/static/src/js/tour.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/odoo/addons/test_main_flows/static/src/js/tour.js b/odoo/addons/test_main_flows/static/src/js/tour.js
index d1a24af9c4e..047b0c40543 100644
--- a/odoo/addons/test_main_flows/static/src/js/tour.js
+++ b/odoo/addons/test_main_flows/static/src/js/tour.js
@@ -542,10 +542,12 @@ tour.register('main_flow_tour', {
trigger: ".o_menu_sections a[data-menu-xmlid='mrp.menu_mrp_manufacturing']",
content: _t('Click on Operations menuitem'),
position: 'bottom',
+ edition: 'enterprise',
}, {
trigger: ".o_menu_sections a[data-menu-xmlid='mrp.menu_mrp_production_action']",
content: _t('Open manufacturing orders'),
position: 'bottom',
+ edition: 'enterprise',
}, {
trigger: '.o_data_row:has(.o_data_cell:contains("the_flow.product")):first',
content: _t('Select the generated manufacturing order'),