|
|
@@ -23,13 +23,13 @@
|
|
|
<div class="copia" t-att-style="'position:relative; height:8.8cm; width:100%; page-break-inside:avoid; margin-top:' + ('1.5' if i > 1 else '0') + 'cm;'">
|
|
|
|
|
|
<style type="text/css">
|
|
|
- .campo{position:absolute; font-size:10px;color:red;}
|
|
|
+ .campo{position:absolute; font-size:10px;}
|
|
|
.detalle{position:absolute; top:3.6cm; left:1.2cm; width:19cm; font-size:10px; line-height:0.47cm;color:red;}
|
|
|
- .total_pagar_data{position:absolute; top:7.4cm; left:2cm; width:14cm;color:red;}
|
|
|
- .total_pagar{position:absolute; top:7.4cm; right:1.3cm; text-align:right; width:6cm;color:red;}
|
|
|
- .iva_5_data{position:absolute; top:8.0cm; left:7.1cm; width:3cm; text-align:right;color:red;}
|
|
|
- .iva_10_data{position:absolute; top:8.0cm; left:10.4cm; width:3cm; text-align:right;color:red;}
|
|
|
- .iva_total_data{position:absolute; top:8.0cm; left:14.9cm; width:3cm; text-align:right;color:red;}
|
|
|
+ .total_pagar_data{position:absolute; top:5.4cm; left:2cm; width:14cm;color:red;}
|
|
|
+ .total_pagar{position:absolute; top:5.4cm; right:1.3cm; text-align:right; width:6cm;color:red;}
|
|
|
+ .iva_5_data{position:absolute; top:6.0cm; left:7.1cm; width:3cm; text-align:right;color:red;}
|
|
|
+ .iva_10_data{position:absolute; top:6.0cm; left:9.4cm; width:3cm; text-align:right;color:red;}
|
|
|
+ .iva_total_data{position:absolute; top:6.0cm; left:13.9cm; width:3cm; text-align:right;color:red;}
|
|
|
.xmark{position:absolute; font-weight:bold; font-size:12px;color:red;}
|
|
|
</style>
|
|
|
|
|
|
@@ -47,21 +47,21 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Cliente: Nombre y RUC -->
|
|
|
- <div class="campo" style="top:0.6cm; left:3.5cm; width:19cm;">
|
|
|
+ <div class="campo" style="top:0.5cm; left:3.7cm; width:19cm;">
|
|
|
<t t-if="o.partner_id.street">
|
|
|
<span t-field="o.partner_id.name"/>
|
|
|
</t>
|
|
|
- <span style="position:absolute; left:13.5cm;">
|
|
|
+ <span style="position:absolute; left:12.9cm;">
|
|
|
<span t-field="o.partner_id.ruc"/>
|
|
|
</span>
|
|
|
</div>
|
|
|
|
|
|
<!-- Dirección + Teléfono -->
|
|
|
- <div class="campo" style="top:1.1cm; left:2.5cm; width:19cm;">
|
|
|
+ <div class="campo" style="top:1.0cm; left:2.5cm; width:19cm;">
|
|
|
<t t-if="o.partner_id.street">
|
|
|
<span t-field="o.partner_id.street"/> <span t-field="o.partner_id.street2"/>
|
|
|
</t>
|
|
|
- <span style="position:absolute; left:14.0cm;">
|
|
|
+ <span style="position:absolute; left:12.0cm;">
|
|
|
<span t-field="o.partner_id.mobile"/>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -71,9 +71,9 @@
|
|
|
<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.2cm;"><span t-field="l.product_id.name"/></div>
|
|
|
+ <div style="width:7.9cm;"><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.7cm; text-align:right;">
|
|
|
+ <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">
|
|
|
<span t-esc="'{0:,.0f}'.format(l.price_subtotal)"/>
|
|
|
</t>
|