Skip to content

Commit 35c06e0

Browse files
committed
[FIX] l10n_ar_sale: Fix in l10n_ar_sale_templates view preserved odoo ids
closes #235 Signed-off-by: Camila Vives <cav@adhoc.com.ar>
1 parent 2a8b172 commit 35c06e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

l10n_ar_sale/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Argentinian Sale Total Fields",
3-
"version": "18.0.1.0.0",
3+
"version": "18.0.1.1.0",
44
"category": "Localization/Argentina",
55
"sequence": 14,
66
"author": "ADHOC SA",

l10n_ar_sale/views/l10n_ar_sale_templates.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
<!-- use column vat instead of taxes and only if vat discriminated -->
2121

2222
<th t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}" position="replace">
23-
<th t-if="sale_order.vat_discriminated" t-attf-class="text-right {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}"><span>% VAT</span></th>
23+
<th id="taxes_header" t-if="sale_order.vat_discriminated" t-attf-class="text-right {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}"><span>% VAT</span></th>
2424
</th>
2525
<!-- use column vat instead of taxes and only list vat taxes-->
2626
<td t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}" position="replace">
27-
<td t-if="sale_order.vat_discriminated" t-attf-class="text-right {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
27+
<td id="taxes" t-if="sale_order.vat_discriminated" t-attf-class="text-right {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
2828
<span t-out="', '.join(map(lambda x: (x.description or x.name), line.tax_id.filtered(lambda x: x.tax_group_id.l10n_ar_vat_afip_code)))"/>
2929
</td>
3030
</td>

0 commit comments

Comments
 (0)