summaryrefslogtreecommitdiff
path: root/odoo/addons/test_main_flows
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2020-03-17 13:47:15 +0000
committerArnold Moyaux <arm@odoo.com>2020-04-22 07:52:45 +0000
commit943da6df0f1d39e8e10869b25c5ba8cc13a2aa54 (patch)
treea9bcb2724d00e3fbc13d7feb6635e46279ae2c83 /odoo/addons/test_main_flows
parentb6fe6de9e9638a2d7db2861e976a7aa720d947f1 (diff)
[IMP] stock, purchase_stock, mrp: Replenishment Report
New report to easily order missing products in each warehouse. Orderpoint have a new type: 'manual'. Manual orderpoint are not trigger by the scheduler but the user could create replenishment from the report directly. The report use the forecast report in order to detect missing quantity for today (it does not search depending the lead time for each product warehouse due to lake of performance). It compares missing quantity with incoming RFQ and other ongoing orderpoint. If it still missing a new entry for replenihsment is created (it's also automaticaly deleted if the replenihsment has been done another way). Task: 2161378
Diffstat (limited to 'odoo/addons/test_main_flows')
-rw-r--r--odoo/addons/test_main_flows/static/tests/tours/main_flow.js28
1 files changed, 26 insertions, 2 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 7cae528fc13..2bba50b4cf3 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
@@ -653,15 +653,33 @@ tour.stepUtils.autoExpandMoreButtons('.o_form_readonly'),
...tour.stepUtils.goToAppSteps('stock.menu_stock_root', _t('Go to Inventory')),
tour.stepUtils.openBuggerMenu("li.breadcrumb-item.active:contains('Inventory Overview')"),
{
- trigger: ".o_menu_sections a:contains('Master Data')",
+ mobile: false,
+ trigger: ".o_menu_sections a[data-menu-xmlid='stock.menu_stock_config_settings']",
extra_trigger: '.o_main_navbar',
- content: _t("Go to Master Data"),
+ content: _t("Go to Configuration"),
position: "bottom"
}, {
+ mobile: false,
trigger: ".o_menu_sections a[data-menu-xmlid='stock.menu_reordering_rules_config']",
content: _t("Reordering Rules"),
position: "bottom"
}, {
+ mobile: true,
+ trigger: ".o_menu_sections a:contains('Configuration')",
+ extra_trigger: '.o_main_navbar',
+ content: _t("Go to Configuration"),
+ position: "bottom"
+}, {
+ mobile: true,
+ trigger: ".o_menu_sections a:contains('Product')",
+ content: _t("Click on Product Section"),
+ position: "bottom"
+}, {
+ mobile: true,
+ trigger: ".o_menu_sections a:contains('Reordering Rules')",
+ content: _t("Click on Product Section"),
+ position: "bottom"
+}, {
mobile: false,
trigger: ".o_list_button_add",
content: _t("Let's create a new reordering rule"),
@@ -699,6 +717,12 @@ tour.stepUtils.openBuggerMenu("li.breadcrumb-item.active:contains('Inventory Ove
position: "right",
run: 'text 10',
}, {
+ mobile: false,
+ trigger: ".o_list_button_save",
+ content: _t("<p>Save this reordering rule</p>"),
+ position: "bottom"
+}, {
+ mobile: true,
trigger: ".o_form_button_save",
content: _t("<p>Save this reordering rule</p>"),
position: "bottom"