diff options
| author | Goffin Simon <sig@odoo.com> | 2020-01-22 12:55:51 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-01-23 11:32:06 +0000 |
| commit | b0da38e82f237d5affe2ca86fe95c6db1a6214cc (patch) | |
| tree | e0f45e1a94c059f184b8a7b0b913d0091cef18e2 /addons | |
| parent | 6b4df7538c505bb4fd431b92bff545acf542d4f2 (diff) | |
[FIX] sale: Base amount not displayed on Pro-forma
Steps to reproduce the bug:
- Let's consider a sale tax T
- Allow Pro-forma in Accounting configuration
- Create a SO with a line of 100 and T on it
- Print the Pro-forma invoice
Bug:
The base amount of T was not displayed next to T below the subtotal
Inspired from report_invoice_document
opw:2172383
closes odoo/odoo#43837
X-original-commit: 472918686fcc723cc6bb30aefacadf00b0cdc31c
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/sale/report/sale_report_templates.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale/report/sale_report_templates.xml b/addons/sale/report/sale_report_templates.xml index c8b7e023d3b..faf6d7a9a1f 100644 --- a/addons/sale/report/sale_report_templates.xml +++ b/addons/sale/report/sale_report_templates.xml @@ -150,7 +150,7 @@ </tr> <t t-foreach="doc.amount_by_group" t-as="amount_by_group"> <tr style=""> - <t t-if="amount_by_group[3] == 1 and doc.amount_untaxed == amount_by_group[2]"> + <t t-if="amount_by_group[5] == 1 and doc.amount_untaxed == amount_by_group[2]"> <td name="td_amount_by_group_label_3"> <span t-esc="amount_by_group[0]"/> <span>&nbsp;<span>on</span>&nbsp;<t t-esc="amount_by_group[2]" t-options='{"widget": "monetary", "display_currency": doc.pricelist_id.currency_id}'/></span> |
