FIX address fetching on outstnading statement

pull/1106/head
Graeme Gellatly 2019-05-09 00:38:59 +12:00 committed by Miquel Raïch
parent 3ae6b6e709
commit 0a75df0e32
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<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.address_get(['invoice'])['invoice']" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
<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">