Skip to content

Commit 9cf20fe

Browse files
committed
[FIX] l10n_ar_tax: use report_partner info in reports headers if exists
closes #1349 X-original-commit: f60eaec Signed-off-by: Victoria Halac - hav (#l10n) <hav@adhoc.inc> Signed-off-by: Julia Elizondo - jue (#l10n) <jue@adhoc.com.ar>
1 parent a641e23 commit 9cf20fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

l10n_ar_tax/views/report_payment_receipt_templates.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<t t-set="document_legend" t-value="'Doc. no válido como factura'"/>
2222
<t t-set="report_number" t-value="o.name"/>
2323
<t t-set="report_name" t-value="o.partner_type == 'supplier' and 'Orden de pago' or 'Recibo'"/>
24-
<t t-set="header_address" t-value="o.company_id.partner_id"/>
24+
<t t-set="header_address" t-value="o.receiptbook_id and o.receiptbook_id._fields.get('report_partner_id') and o.receiptbook_id.report_partner_id or o.company_id.partner_id"/>
2525

2626
<t t-set="custom_footer">
2727
<div class="row">

0 commit comments

Comments
 (0)