summaryrefslogtreecommitdiff
path: root/odoo/addons
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2020-04-27 11:56:02 +0200
committerSimon Lejeune <sle@openerp.com>2020-06-15 16:59:41 +0200
commit0e2765f5fd0ca0079f1f024ec3a1448b6d2ea3db (patch)
tree90ea03d1aca1bf87a080775e7db07977b645c5cc /odoo/addons
parent1b6421285c6bc4c61be3242cea30c2813251cbc7 (diff)
[REF] mrp: no more produce wizard
Use a view similar as the pickings one. task-2241471
Diffstat (limited to 'odoo/addons')
-rw-r--r--odoo/addons/test_main_flows/static/tests/tours/main_flow.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js
index c3ff0d07c43..4c7719b816d 100644
--- a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js
+++ b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js
@@ -823,17 +823,15 @@ tour.stepUtils.openBuggerMenu("li.breadcrumb-item.active:contains('Manufacturing
position: 'bottom',
},
...tour.stepUtils.statusbarButtonsSteps('Check availability', _t("Check availability")),
-...tour.stepUtils.statusbarButtonsSteps('Produce', _t("Produce"), "body.o_web_client:not(.oe_wait)"),
{
- mobile: false,
- trigger: ".modal-footer .btn-primary:nth-child(3)",
- content: _t('Record Production'),
- position: 'bottom',
+ trigger: '.o_form_button_edit',
+ content: _t('Edit the production order'),
+ extra_trigger: 'body.o_web_client:not(.oe_wait)',
}, {
- mobile: true,
- trigger: '.modal-footer .btn-primary[name="do_produce"]:not(.o_invisible_modifier)',
- content: _t('Record Production'),
- position: 'bottom',
+ trigger: ".o_field_widget[name=qty_producing]",
+ content: _t("Produce"),
+ run: "text 1",
+ extra_trigger: 'body.o_web_client:not(.oe_wait)',
},
...tour.stepUtils.statusbarButtonsSteps('Mark as Done', _t("Mark as Done"), ".o_statusbar_status .btn.dropdown-toggle:contains('To Close')"),
{