summaryrefslogtreecommitdiff
path: root/odoo/addons/test_main_flows
diff options
context:
space:
mode:
authorParth Choksi <pch@odoo.com>2019-07-12 04:59:53 +0000
committerDamien Bouvy <dbo@odoo.com>2019-08-08 07:54:07 +0000
commit5d7c0267a68b906afc267a99ab1ae7257bba8f66 (patch)
treea6975280f36cc39e24b126cb2495f3b28d6df41b /odoo/addons/test_main_flows
parent3ee0d3b68b8ceeb4fcd3379fd8c87ae402835139 (diff)
[IMP] *_sale, sale, sale_*: improvements in form view
Sending a quotation by mail is really rare and the option is still available in dropdown menu. It is also confusing to see the document status changed while you just want to print as a draft sometimes. So the PRINT button is removed here. Only displayed UNLOCK/LOCK for 'sales managers' if the option “Lock confirmed orders” is activated in the settings. Removed the ability to open the payment terms via external button in edit mode Removed the left,right and top borders in the field of terms and condition. Kept only bottom border. Event and Event ticket will come after Product regardless of it being a template or the product. In the sale order's form view, made certain changes like shifting the positions, removing the field, adding title, keeping the field in debug mode. task-2033229
Diffstat (limited to 'odoo/addons/test_main_flows')
-rw-r--r--odoo/addons/test_main_flows/static/tests/tours/main_flow.js6
1 files changed, 1 insertions, 5 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 f13cfb64e44..519198da5fe 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
@@ -389,12 +389,8 @@ tour.register('main_flow_tour', {
trigger: 'label:contains("Untaxed Amount")',
// click somewhere else to exit cell focus
}, {
- trigger: ".o_statusbar_buttons > button.o_sale_print:enabled",
- content: _t("<p><b>Print this quotation.</b></p>"),
- position: "bottom"
-}, {
trigger: ".o_statusbar_buttons > button:enabled:contains('Send by Email')",
- extra_trigger: ".o_statusbar_status .btn-primary:contains('Quotation Sent')",
+ extra_trigger: ".o_statusbar_status .btn-primary:contains('Quotation')",
content: _t("Try to send it to email"),
position: "bottom",
}, {