Browse Source

FIX address fetching on outstnading statement

pull/654/head
Graeme Gellatly 6 years ago
committed by mreficent
parent
commit
a602a7f086
  1. 2
      partner_statement/views/outstanding_statement.xml

2
partner_statement/views/outstanding_statement.xml

@ -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">

Loading…
Cancel
Save