summaryrefslogtreecommitdiff
path: root/odoo/addons/test_main_flows
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2019-03-27 11:34:56 +0000
committerwan <wan@odoo.com>2019-04-04 12:46:20 +0000
commit6940cfddbc69570143e5dc9ddab21d4061b52dbf (patch)
tree5cec06cd33213f1b5baa66f854f0bf78ab8fca79 /odoo/addons/test_main_flows
parent3c2e3b8c5a7d073fe8f0f6d781b1ccdbc320edd0 (diff)
[IMP] account: visible but not required bank account on payment
When making a manual payment with account_sepa we want to allow people to add a bank account as it might display the European QR code for banking app, but this should stay optional. So we made sure that the conditions making the field visible and required weren't the same. part of task #1918423 closes odoo/odoo#32198 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'odoo/addons/test_main_flows')
-rw-r--r--odoo/addons/test_main_flows/static/src/js/tour.js7
1 files changed, 4 insertions, 3 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 e2e3d4b95a5..5113a81dc6e 100644
--- a/odoo/addons/test_main_flows/static/src/js/tour.js
+++ b/odoo/addons/test_main_flows/static/src/js/tour.js
@@ -537,7 +537,7 @@ tour.register('main_flow_tour', {
content: _t("Register Payment"),
position: "bottom",
}, {
- trigger: ".o_form_sheet_bg .btn-primary",
+ trigger: ".modal-footer .btn-primary",
content: _t("Validate"),
position: "bottom",
}, {
@@ -673,11 +673,12 @@ tour.register('main_flow_tour', {
position: "bottom",
}, {
trigger: "select.o_field_widget[name=journal_id]",
+ extra_trigger: ".modal-dialog",
content: _t("Select Journal"),
position: "bottom",
- run: 'text Bank(USD)',
+ run: 'text(Bank (USD))',
}, {
- trigger: ".btn-primary",
+ trigger: ".modal-footer .btn-primary",
content: _t("Validate"),
position: "bottom",
}, {