[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.
This commit is contained in:
Olivier Dony 2014-11-12 18:50:38 +01:00
parent 654ce2bb13
commit 3d88a60c2e
1 changed files with 2 additions and 2 deletions

View File

@ -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>