[FIX] Make company_id a required field in statement wizard

This commit is contained in:
Graeme Gellatly
2019-03-13 22:50:47 +13:00
committed by Miquel Raïch
parent 047f48ecfe
commit 845445a0b2
3 changed files with 21 additions and 10 deletions

View File

@@ -7,8 +7,8 @@
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context({'lang': lang})"/>
<t t-set="address">
<address t-esc="o" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
<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>
<address t-esc="get_inv_addr(o)" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
<div t-if="o.vat" class="mt16"><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="o.vat"/></div>
</t>
<div class="page">
<h2 >Statement of Account</h2>