diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-10-22 13:03:46 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-11-27 11:56:56 +0000 |
| commit | c407d9afb94003898cb24041da3cbbf7311a40de (patch) | |
| tree | c0ec1497c0e37c3a89f51e0369e94814bc437458 /odoo/addons/test_main_flows | |
| parent | 257bd0e874a41b0b133d9f7d4f75799a935d0a70 (diff) | |
[REF] mrp: compute state for production
Refactor production order state:
- Directly have an idea of linked workorders's state
- Computed in order to manage it in a single method
- Add tooltips for each state
Remove the None in availability selection field instead use a False
Also refactor the ready_to_produce field in order to only set as
assigned a production order that have the component for its first
workorder.
Diffstat (limited to 'odoo/addons/test_main_flows')
| -rw-r--r-- | odoo/addons/test_main_flows/static/src/js/tour.js | 2 |
1 files changed, 1 insertions, 1 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 4d29ed4e608..38a793fff27 100644 --- a/odoo/addons/test_main_flows/static/src/js/tour.js +++ b/odoo/addons/test_main_flows/static/src/js/tour.js @@ -555,7 +555,7 @@ tour.register('main_flow_tour', { content: _t("Check availability"), position: "bottom", }, { - trigger: ".o_statusbar_buttons > button.btn-primary:enabled:contains('Produce')", + trigger: ".o_statusbar_buttons > button:enabled:contains('Produce')", content: _t("Produce"), position: "bottom", }, { |
