[FIX] l10n_ar: displays right amount of col

Steps to reproduce:
- create an invoice with an invoice line having a big amount
- confirm
- print invoice

Issue:
The alignment of total is not correct

Solution:
In l10n_ar, we need more cols to be able to display the correct information. In the base report, the difference is not important visually (the line total is slightly longer)

opw-3670830

closes odoo/odoo#155670

X-original-commit: fca032c6cc2d6b7eb9f8c4bc71b7b259c4ce93ce
Signed-off-by: John Laterre (jol) <jol@odoo.com>
Signed-off-by: Yolann Sabaux (yosa) <yosa@odoo.com>
This commit is contained in:
Yolann Sabaux
2024-02-28 08:15:25 +00:00
committed by yosa-odoo
parent e14edcc224
commit e2ad568e6c
+2 -8
View File
@@ -233,14 +233,8 @@
</div> </div>
</div> </div>
<!-- we remove the ml auto and also give more space to avoid multiple lines on tax detail --> <xpath expr="//div[@id='payment_term']" position="before">
<xpath expr="//div[@id='total']/div" position="attributes"> <div class="mb-4">
<attribute name="t-attf-class">#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'}</attribute>
</xpath>
<xpath expr="//div[@id='total']/div" position="before">
<div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'}">
<t t-if="o.l10n_ar_afip_concept in ['2', '3', '4'] and o.l10n_ar_afip_service_start and o.l10n_ar_afip_service_end"> <t t-if="o.l10n_ar_afip_concept in ['2', '3', '4'] and o.l10n_ar_afip_service_start and o.l10n_ar_afip_service_end">
<strong>Invoiced period: </strong><span t-field="o.l10n_ar_afip_service_start"/> to <span t-field="o.l10n_ar_afip_service_end"/> <strong>Invoiced period: </strong><span t-field="o.l10n_ar_afip_service_start"/> to <span t-field="o.l10n_ar_afip_service_end"/>
</t> </t>