[FIX] l10n_in_edi: improper alignment of E-Invoice code in Invoice.
In this commit, I have made the changes to align the IRN no. and its related QR code image properly in the invoice report. before this commit,it overlapped with the tax details. Steps To Reproduce: - Install the `l10n_in_edi` - Switch to `IN Company` - Go to Configuration->Journals - Under the `Advance Settings` tab, tick the `Electronic Invoicing`. - Create an invoice - Click on `process now` to process an e-invoice. - Now, print the invoice report. - You will find the E-invoice code overlaps with the Tax Details. task:- 3347517 closes odoo/odoo#133007 X-original-commit: 0693552dbb6cf4d160c88da90b8b08d28213d9b6 Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
<attribute name="t-attf-class">{{('col-6' if report_type != 'html' else 'col-sm-6 col-md-5 ms-auto') if l10n_in_einvoice_json else ''}}
|
||||
{{(('col-6' if report_type != 'html' else 'col-sm-7 col-md-6') + ' ms-auto') if not l10n_in_einvoice_json else ''}}</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@id='right-elements']" position="attributes">
|
||||
<attribute name="t-attf-class">{{('col-12' if report_type != 'html' else 'col-12 col-md-5') if l10n_in_einvoice_json else '' }} {{(('col-6' if report_type != 'html' else 'col-12 col-md-5') + ' ms-5 d-inline-block float-end' ) if not l10n_in_einvoice_json else ''}} </attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='total']/div[1]" position="before">
|
||||
<t t-set="l10n_in_einvoice_json" t-value="o._get_l10n_in_edi_response_json()"/>
|
||||
<div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6 ms-auto'} row" t-if="l10n_in_einvoice_json">
|
||||
|
||||
Reference in New Issue
Block a user