diff options
| author | oco-odoo <oco@odoo.com> | 2020-01-16 18:04:26 +0000 |
|---|---|---|
| committer | oco-odoo <oco@odoo.com> | 2020-01-16 18:04:26 +0000 |
| commit | 8e4158af810bcf475214946fa64d3b0ce4d3b26d (patch) | |
| tree | bee0b38b9179a025c0f23d2ed1b445a647bbf986 /addons/account/data/mail_template_data.xml | |
| parent | 1a7c21328f551ee0ec904606209d642a84071446 (diff) | |
[IMP] account: add 'partial' and 'reversed' payment states to invoices
- 'partial' payment state corresponds to invoices whose payable/receivable move line has been partially reconciled with some other line.
- 'reversed' payment state corresponds to entries that have been cancelled by the creation of a single reverse entry (using the dedicated button on the form view). This state can be set on invoice as well as on regular entries.
=> To stay consistent with the naming conventions, this commit also renames invoice_payment_state field to payment_state, since it's no longer only applicable on invoices.
closes odoo/odoo#41723
Related: odoo/enterprise#7202
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/account/data/mail_template_data.xml')
| -rw-r--r-- | addons/account/data/mail_template_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/data/mail_template_data.xml b/addons/account/data/mail_template_data.xml index 2d30ca90879..c3fcb7f9d7d 100644 --- a/addons/account/data/mail_template_data.xml +++ b/addons/account/data/mail_template_data.xml @@ -32,7 +32,7 @@ % endif amounting in <strong>${format_amount(object.amount_total, object.currency_id)}</strong> from ${object.company_id.name}. - % if object.invoice_payment_state == 'paid': + % if object.payment_state == 'paid': This invoice is already paid. % else: Please remit payment at your earliest convenience. |
