summaryrefslogtreecommitdiff
path: root/odoo/addons/test_main_flows/static/src
diff options
context:
space:
mode:
authorHetashree Chauhan <hch@odoo.com>2018-05-23 18:07:49 +0530
committerArnold Moyaux <arm@odoo.com>2018-08-28 15:36:34 +0200
commit4d1d8d457ebb978840e121b3fcdd3bd302cb7b94 (patch)
treefb1144e7de4d479e3d978303bd9a029df88ff4b6 /odoo/addons/test_main_flows/static/src
parent19e62fa7c3ba1c21089274785063e8b72943e7de (diff)
[IMP] purchase: create bill button
Before this commit the user add to click on vendor bill button that redirect him to an empty list view where he has to click on create. Now, vendor bill show a list view of existing invoice and it exists a new button create bill that directly create a new invoice with missing delivered product. It also order button in order to put primary buttons first in the header. The tour is modify since the stat button is invisible if the PO does not have an invoice linked. Instead it clicks on 'create bill' button. This commit is related to task ID 1835441.
Diffstat (limited to 'odoo/addons/test_main_flows/static/src')
-rw-r--r--odoo/addons/test_main_flows/static/src/js/tour.js6
1 files changed, 1 insertions, 5 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 bc0bca503e0..e0f209c2232 100644
--- a/odoo/addons/test_main_flows/static/src/js/tour.js
+++ b/odoo/addons/test_main_flows/static/src/js/tour.js
@@ -480,14 +480,10 @@ tour.register('main_flow_tour', {
content: _t('go back to the purchase order'),
position: 'bottom',
}, {
- trigger: ".oe_button_box .oe_stat_button:has(div[name=invoice_count])",
+ trigger: ".o_statusbar_buttons > button:enabled:contains('Create Bill')",
content: _t('go to Vendor Bills'),
position: 'bottom',
}, {
- trigger: ".o_list_button_add",
- content: _t("Let's create a new vendor bill"),
- position: "right",
-}, {
trigger: ".o_statusbar_buttons > button:enabled:contains('Validate')",
content: _t("Try to send it to email"),
position: "bottom",