|
|
@@ -24,23 +24,23 @@
|
|
|
|
|
|
<style type="text/css">
|
|
|
.campo{position:absolute; font-size:10px;}
|
|
|
- .detalle{position:absolute; top:3.3cm; left:1.2cm; width:19cm; font-size:10px; line-height:0.47cm;color:red;}
|
|
|
- .total_pagar_data{position:absolute; top:6.3cm; left:3.2cm; width:14cm;}
|
|
|
- .total_pagar{position:absolute; top:6.3cm; right:1.3cm; text-align:right; width:6cm;color:red;}
|
|
|
- .iva_5_data{position:absolute; top:7.4cm; left:7.1cm; width:3cm; text-align:right;color:red;}
|
|
|
- .iva_10_data{position:absolute; top:7.4cm; left:9.4cm; width:3cm; text-align:right;color:red;}
|
|
|
- .iva_total_data{position:absolute; top:7.4cm; left:15.1cm; width:3.5cm; text-align:right;color:red;}
|
|
|
+ .detalle{position:absolute; top:2.8cm; left:1.2cm; width:19cm; font-size:10px; line-height:0.47cm;color:red;}
|
|
|
+ .total_pagar_data{position:absolute; top:6.5cm; left:3.2cm; width:14cm;}
|
|
|
+ .total_pagar{position:absolute; top:6.5cm; right:1.3cm; text-align:right; width:6cm;color:red;}
|
|
|
+ .iva_5_data{position:absolute; top:7.9cm; left:7.1cm; width:3cm; text-align:right;color:red;}
|
|
|
+ .iva_10_data{position:absolute; top:7.9cm; left:9.4cm; width:3cm; text-align:right;color:red;}
|
|
|
+ .iva_total_data{position:absolute; top:7.9cm; left:15.1cm; width:3.5cm; text-align:right;color:red;}
|
|
|
.xmark{position:absolute; font-weight:bold; font-size:12px;color:red;}
|
|
|
</style>
|
|
|
|
|
|
<!-- Fecha de emisión -->
|
|
|
- <div class="campo" style="top:0.2cm; left:3.7cm;">
|
|
|
+ <div class="campo" style="top:0.2cm; left:3.9cm;">
|
|
|
<!-- <span t-esc="time.strftime('%d %b %Y')"/>-->
|
|
|
<span t-field="o.date_invoice" t-field-options='{"format": "dd MMM yyyy"}'/>
|
|
|
</div>
|
|
|
|
|
|
<!-- Condición de venta (Contado / Crédito) -->
|
|
|
- <div class="xmark" style="top:0.2cm; left:18.3cm;">
|
|
|
+ <div class="xmark" style="top:0.2cm; left:18.5cm;">
|
|
|
<t t-if="o.contado">X</t>
|
|
|
</div>
|
|
|
<div class="xmark" style="top:0.2cm; left:18.6cm;">
|
|
|
@@ -66,18 +66,18 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Detalle -->
|
|
|
- <div class="detalle" style="top:3.3cm;">
|
|
|
+ <div class="detalle" style="top:2.8cm;">
|
|
|
<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:8.3cm;"><span t-field="l.product_id.name"/></div>
|
|
|
+ <div style="width:1.9cm; text-align:center;"><span t-esc="'{0:,.0f}'.format(l.quantity)"/></div>
|
|
|
+ <div style="width:8.6cm;"><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">
|
|
|
<span t-esc="'{0:,.0f}'.format(l.price_subtotal)"/>
|
|
|
</t>
|
|
|
</div>
|
|
|
- <div style="width:3.5cm; text-align:right;"></div>
|
|
|
+ <div style="width:3.4cm; text-align:right;"></div>
|
|
|
<div style="width:2.5cm; text-align:right;">
|
|
|
<span t-esc="'{0:,.0f}'.format((l.quantity * l.price_unit))"/>
|
|
|
</div>
|