[FIX] account,sale: show payment term & fiscal position notes in reports

Complete commit 3d88a60
Display payment terms or fiscal position note instead of simple the name.
Fixes #3635
This commit is contained in:
sve-openerp 2014-11-13 13:54:49 +01:00 committed by Martin Trigaux
parent 52fe671e61
commit 182adcdcd6
2 changed files with 5 additions and 5 deletions

View File

@ -139,9 +139,9 @@
<strong>Payment Term:</strong>
<span t-field="o.payment_term.note"/>
</p>
<p t-if="o.fiscal_position">
<strong>Fiscal Position:</strong>
<span t-field="o.fiscal_position"/>
<p t-if="o.fiscal_position.note">
<strong>Fiscal Position Remark:</strong>
<span t-field="o.fiscal_position.note"/>
</p>
</div>
</t>

View File

@ -117,9 +117,9 @@
</div>
<p t-field="o.note" />
<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>
<div class="oe_structure"/>
</div>