summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-11-12 18:50:38 +0100
committerOlivier Dony <odo@openerp.com>2014-11-12 18:50:38 +0100
commit3d88a60c2ea74b36f148b50e9dc63f854c59251f (patch)
tree7329996b59a89d15173ff0ba7f7666ad41ad6a9d /addons
parent654ce2bb13f401ab7776b4ca937108e3b00de646 (diff)
[FIX] account.invoice report: show customer description of payment term
The payment term description (note) is meant to be shown to customers. Restore it in the default invoice report, as it was in 7.0. If empty, assume the payment term is meant to be hidden from customer, and do not show anything. By default the description includes the name of the payment term, so no need to keep both.
Diffstat (limited to 'addons')
-rw-r--r--addons/account/views/report_invoice.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml
index a250eb9ebf7..4fe4e3be0fd 100644
--- a/addons/account/views/report_invoice.xml
+++ b/addons/account/views/report_invoice.xml
@@ -131,9 +131,9 @@
<strong>Comment:</strong>
<span t-field="o.comment"/>
</p>
- <p t-if="o.payment_term">
+ <p t-if="o.payment_term.note">
<strong>Payment Term:</strong>
- <span t-field="o.payment_term"/>
+ <span t-field="o.payment_term.note"/>
</p>
<p t-if="o.fiscal_position">
<strong>Fiscal Position:</strong>