[FIX] account: customer address show in invoice report
When printing an invoice, the customer address was not displayed if there was no delivery address specified. As the address should be displayed at the same place than when the delivery address and customer address are the same, we just paste the code from the related condition. opw-2899259 closes odoo/odoo#97248 X-original-commit: c0544097d38fae25decb096808dbbdec0cdb5c4d Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<t t-else="">
|
||||
<div class="offset-col-6 col-6" name="no_shipping">
|
||||
<t t-set="address">
|
||||
<address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' groups="!account.group_delivery_invoice_address"/>
|
||||
<address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'/>
|
||||
<div t-if="o.partner_id.vat">
|
||||
<t t-if="o.company_id.account_fiscal_country_id.vat_label" t-esc="o.company_id.account_fiscal_country_id.vat_label" id="inv_tax_id_label"/>
|
||||
<t t-else="">Tax ID</t>: <span t-field="o.partner_id.vat"/>
|
||||
|
||||
Reference in New Issue
Block a user