[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:
parent
654ce2bb13
commit
3d88a60c2e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue