|
|
@@ -20,7 +20,7 @@
|
|
|
<t t-foreach="[1,2,3]" t-as="i">
|
|
|
|
|
|
<!-- Cada copia ocupa ~8.8cm de alto (3x8.8 + 3cm margen = 29.7cm) -->
|
|
|
- <div class="copia" t-att-style="'position:relative; height:8.8cm; width:100%; page-break-inside:avoid; margin-top:' + ('2.2' if i == 2 else ('2.3' if i == 3 else '0')) + 'cm;'">
|
|
|
+ <div class="copia" t-att-style="'position:relative; height:8.8cm; width:100%; page-break-inside:avoid; margin-top:' + ('2.3' if i == 2 else ('2.5' if i == 3 else '0')) + 'cm;'">
|
|
|
|
|
|
<style type="text/css">
|
|
|
.campo{position:absolute; font-size:10px;}
|
|
|
@@ -39,7 +39,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Condición de venta (Contado / Crédito) -->
|
|
|
- <div class="xmark" style="top:0.2cm; left:17.8cm;">
|
|
|
+ <div class="xmark" style="top:0.2cm; left:18.1cm;">
|
|
|
<t t-if="o.contado">X</t>
|
|
|
</div>
|
|
|
<div class="xmark" style="top:0.2cm; left:18.4cm;">
|
|
|
@@ -47,7 +47,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Cliente: Nombre y RUC -->
|
|
|
- <div class="campo" style="top:0.6cm; left:4.5cm; width:19cm;">
|
|
|
+ <div class="campo" style="top:0.7cm; left:4.5cm; width:19cm;">
|
|
|
<t t-if="o.partner_id.street">
|
|
|
<span t-field="o.partner_id.name"/>
|
|
|
</t>
|
|
|
@@ -71,7 +71,7 @@
|
|
|
<t t-foreach="o.invoice_line" t-as="l">
|
|
|
<div style="display:flex;">
|
|
|
<div style="width:1.8cm; text-align:center;"><span t-esc="'{0:,.0f}'.format(l.quantity)"/></div>
|
|
|
- <div style="width:7.9cm;"><span t-field="l.product_id.name"/></div>
|
|
|
+ <div style="width:8.3cm;"><span t-field="l.product_id.name"/></div>
|
|
|
<div style="width:2.3cm; text-align:right;"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/></div>
|
|
|
<div style="width:3.0cm; text-align:right;">
|
|
|
<t t-if="l.invoice_line_tax_id and l.invoice_line_tax_id[0].amount == 0">
|