From 6366c24499586fefdb1ec74f0045bbd8885d992a Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 8 Jan 2019 08:47:53 +0000 Subject: [PATCH] [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 --- odoo/addons/test_main_flows/static/src/js/tour.js | 2 ++ 1 file changed, 2 insertions(+) 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'),