Skip to content

Commit 5d3abc2

Browse files
committed
[FIX] l10n_ar_sale: add language attribute to sale order document for AR companies
closes #289 Signed-off-by: Katherine Zaoral - kz (#l10n) <kz@adhoc.com.ar>
1 parent 4c644c4 commit 5d3abc2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

l10n_ar_sale/views/sale_report_templates.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<attribute name="t-if" add="doc.company_id.country_code != 'AR'" separator="and"/>
77
</t>
88
<t t-call="sale.report_saleorder_document" position="after">
9-
<t t-call="l10n_ar_sale.report_saleorder_document" t-if="doc.company_id.country_code == 'AR'"/>
9+
<t t-call="l10n_ar_sale.report_saleorder_document" t-if="doc.company_id.country_code == 'AR'" t-lang="doc.partner_id.lang"/>
1010
</t>
1111
</template>
1212

@@ -15,7 +15,7 @@
1515
<attribute name="t-if" add="doc.company_id.country_code != 'AR'" separator="and"/>
1616
</t>
1717
<t t-call="sale.report_saleorder_document" position="after">
18-
<t t-call="l10n_ar_sale.report_saleorder_document" t-if="doc.company_id.country_code == 'AR'"/>
18+
<t t-call="l10n_ar_sale.report_saleorder_document" t-if="doc.company_id.country_code == 'AR'" t-lang="doc.partner_id.lang"/>
1919
</t>
2020
</template>
2121

0 commit comments

Comments
 (0)