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 /addons/account/static/src/xml/account_reconciliation.xml | |
| 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 'addons/account/static/src/xml/account_reconciliation.xml')
| -rw-r--r-- | addons/account/static/src/xml/account_reconciliation.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/static/src/xml/account_reconciliation.xml b/addons/account/static/src/xml/account_reconciliation.xml index d76ef05e917..2555b348990 100644 --- a/addons/account/static/src/xml/account_reconciliation.xml +++ b/addons/account/static/src/xml/account_reconciliation.xml @@ -67,7 +67,7 @@ <t t-if="context.journal_id"> <button class="button_back_to_statement btn btn-secondary" t-att-data_journal_id='context.journal_id'>Go to bank statement(s)</button> </t> - <t t-if="context['active_model'] === 'account.bank.statement'"> + <t t-if="context['active_model'] === 'account.bank.statement.line'"> <button class="button_close_statement btn btn-primary" style="display: inline-block;">Close statement</button> </t> </p> @@ -236,7 +236,7 @@ <t t-name="reconciliation.line.mv_line.amount"> <span t-att-class="(line.is_move_line && proposition == true) ? 'cell' : ''"> - + <span class="line_amount"> <span t-if="line.amount_currency_str" t-attf-class="o_multi_currency o_multi_currency_color_#{line.currency_id%8} line_info_button fa fa-money" |
