Skip to content

Commit 8505891

Browse files
[FIX] l10n_ar_sale: fix sale order report for Argentina
Ticket: 110727
1 parent 69ab90f commit 8505891

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

l10n_ar_sale/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Argentinian Sale Total Fields",
3-
"version": "18.0.1.7.0",
3+
"version": "18.0.1.8.0",
44
"category": "Localization/Argentina",
55
"sequence": 14,
66
"author": "ADHOC SA",

l10n_ar_sale/views/sale_report_templates.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
<template id="report_saleorder_raw" inherit_id="sale.report_saleorder_raw">
55
<t t-call="sale.report_saleorder_document" position="attributes">
6-
<attribute name="t-call">#{ doc._get_name_sale_report('sale.report_saleorder_document') }</attribute>
6+
<attribute name="t-if" add="doc.company_id.country_code != 'AR'" separator="and"/>
7+
</t>
8+
<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'"/>
710
</t>
811
</template>
912

0 commit comments

Comments
 (0)