[FIX] l10n_cl: relocate timbre electronico in invoice
With an L10n_cl company Create invoice Send&Print Issue: Invoice report does not correctly print the electronic stamp. It is in the wrong position (on the right, it should be on the left) and it is shrinked. In commit https://github.com/odoo/odoo/commit/3764914c8616bf59d299e6279cc6fc93321cdacb the 'total' section of the invoice report has been moved into a right column as floating element. This commit reposition the stamp on the left column opw-3474173 closes odoo/odoo#136987 X-original-commit: 37cce94c200f05ee66b9577b95d2eb478134148f Signed-off-by: de Wouters de Bouchout Jean-Benoît (jbw) <jbw@odoo.com> Signed-off-by: Andrea Grazioso (agr) <agr@odoo.com>
This commit is contained in:
@@ -203,21 +203,10 @@
|
||||
<t t-call="l10n_cl.informations"/>
|
||||
</div>
|
||||
|
||||
<!-- we remove the ml auto and also give more space to avoid multiple lines on tax detail -->
|
||||
<xpath expr="//div[@id='total']/div" position="attributes">
|
||||
<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'}"/>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@id='total']" position="after">
|
||||
<div class="row">
|
||||
<div name="stamp" class="col-4 text-center"/>
|
||||
<div name="transferable-table" class="col-4"/>
|
||||
<div name="transferable-legend" class="col-4 float-end"/>
|
||||
</div>
|
||||
<xpath expr="//div[@id='right-elements']" position="after">
|
||||
<div name="stamp" class="text-center col-6"/>
|
||||
<div name="transferable-table" class="col-6"/>
|
||||
<div name="transferable-legend" class="col-6"/>
|
||||
</xpath>
|
||||
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user