diff options
| author | wan <wan@odoo.com> | 2019-02-20 14:51:34 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2019-04-04 10:42:41 +0000 |
| commit | 3c2e3b8c5a7d073fe8f0f6d781b1ccdbc320edd0 (patch) | |
| tree | de7891241dfa92f9cfc03d25428e26aff80450c6 /odoo/addons/test_main_flows | |
| parent | 2190568d9e6fda200db6e28bf13e24fa5d3bc634 (diff) | |
[REF] account: simplification of payments objects
simplification of payments objects and refactoring of the code
* registering payment(s) from the list of invoice now generate a single payment per invoice selected
* no more abstract object for payments/payment wizard as the logic is now really simple:
- group_invoices option is now removed and we never try to group payments based on the currency/customer of whatsoever (see above),
- the payment amount is the full residual amount of invoice and users cannot change it anymore
* partner_bank_account_id not required as soon as visible (depends on the payment method)
* refactoring to name tags and allow easier inheritance via xpath
part of task #1918423
Diffstat (limited to 'odoo/addons/test_main_flows')
| -rw-r--r-- | odoo/addons/test_main_flows/static/src/js/tour.js | 9 |
1 files changed, 4 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 4b08c5b1b22..e2e3d4b95a5 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: ".modal-footer .btn-primary", + trigger: ".o_form_sheet_bg .btn-primary", content: _t("Validate"), position: "bottom", }, { @@ -673,12 +673,11 @@ 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: ".modal-footer .btn-primary", + trigger: ".btn-primary", content: _t("Validate"), position: "bottom", }, { @@ -773,7 +772,7 @@ tour.register('main_flow_tour', { position: "right", }, { edition: "enterprise", - trigger: ".button_close_statement", + trigger: ".button_back_to_statement", content: _t('<p><b>Close this statement.</p>'), position: "bottom", }]); |
