Browse Source

[IMP] Align informations formatting with purchases, invoices and sales orders

pull/477/head
Graeme Gellatly 6 years ago
parent
commit
19b4ccf3ad
  1. 14
      partner_statement/views/activity_statement.xml
  2. 15
      partner_statement/views/outstanding_statement.xml

14
partner_statement/views/activity_statement.xml

@ -12,10 +12,16 @@
</t> </t>
<div class="page"> <div class="page">
<h2 >Statement of Account</h2> <h2 >Statement of Account</h2>
<p>
Date: <span t-esc="d['today']" /><br/>
<t t-if="o.ref">Partner ref: <span t-field="o.ref"/></t>
</p>
<div id="informations" class="row mt32 mb32">
<div class="col-3 bm-2">
<strong>Date:</strong>
<p t-esc="d['today']" class="m-0"/>
</div>
<div t-if="o.ref" class="col-3 bm-2">
<strong>Partner Code:</strong>
<p t-field="o.ref" class="m-0" />
</div>
</div>
<t t-if="d['currencies']"> <t t-if="d['currencies']">
<br/> <br/>

15
partner_statement/views/outstanding_statement.xml

@ -11,11 +11,18 @@
<div t-if="o.vat" class="mt16"><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="o.partner_id.vat"/></div> <div t-if="o.vat" class="mt16"><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="o.partner_id.vat"/></div>
</t> </t>
<div class="page"> <div class="page">
<div class="oe_structure"/>
<h2 >Statement of Account</h2> <h2 >Statement of Account</h2>
<p>
Date: <span t-esc="d['today']" /><br/>
<t t-if="o.ref">Partner ref: <span t-field="o.ref"/></t>
</p>
<div id="informations" class="row mt32 mb32">
<div class="col-3 bm-2">
<strong>Date:</strong>
<p t-esc="d['today']" class="m-0"/>
</div>
<div t-if="o.ref" class="col-3 bm-2">
<strong>Partner Code:</strong>
<p t-field="o.ref" class="m-0" />
</div>
</div>
<t t-if="d['currencies']"> <t t-if="d['currencies']">
<br/> <br/>

Loading…
Cancel
Save