|
@@ -17,7 +17,7 @@
|
|
|
|
|
|
|
|
<!-- Tres copias en la misma hoja -->
|
|
<!-- Tres copias en la misma hoja -->
|
|
|
<t t-foreach="[1,2,3]" t-as="i">
|
|
<t t-foreach="[1,2,3]" t-as="i">
|
|
|
- <div class="copia" style="position:relative; height:9.8cm; width:100%; page-break-inside:avoid;">
|
|
|
|
|
|
|
+ <div class="copia" style="position:relative; height:9.7cm; width:100%; page-break-inside:avoid;">
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
<style type="text/css">
|
|
|
.campo{position:absolute; font-size:10px;}
|
|
.campo{position:absolute; font-size:10px;}
|
|
@@ -31,15 +31,15 @@
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Fecha de emisión -->
|
|
<!-- Fecha de emisión -->
|
|
|
- <div class="campo" style="top:0.6cm; left:7.8cm;">
|
|
|
|
|
|
|
+ <div class="campo" style="top:0.4cm; left:7.8cm;">
|
|
|
<span t-field="o.date_invoice" t-field-options='{"format":"dd MMM yyyy"}'/>
|
|
<span t-field="o.date_invoice" t-field-options='{"format":"dd MMM yyyy"}'/>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Condición de venta (Contado / Crédito) -->
|
|
<!-- Condición de venta (Contado / Crédito) -->
|
|
|
- <div class="xmark" style="top:0.6cm; left:18.3cm;">
|
|
|
|
|
|
|
+ <div class="xmark" style="top:0.4cm; left:18.3cm;">
|
|
|
<t t-if="o.contado">X</t>
|
|
<t t-if="o.contado">X</t>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="xmark" style="top:0.6cm; left:19.6cm;">
|
|
|
|
|
|
|
+ <div class="xmark" style="top:0.4cm; left:19.6cm;">
|
|
|
<t t-if="o.credito">X</t>
|
|
<t t-if="o.credito">X</t>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -62,9 +62,9 @@
|
|
|
<span t-field="o.partner_id.mobile"/>
|
|
<span t-field="o.partner_id.mobile"/>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
|
|
+ <div style="position:absolute; top:3.3cm;"></div>
|
|
|
<!-- Detalle de líneas -->
|
|
<!-- Detalle de líneas -->
|
|
|
- <div class="detalle">
|
|
|
|
|
|
|
+ <div class="detalle" style="top:3.3cm;">
|
|
|
<t t-foreach="o.invoice_line" t-as="l">
|
|
<t t-foreach="o.invoice_line" t-as="l">
|
|
|
<div style="display:flex;">
|
|
<div style="display:flex;">
|
|
|
<div style="width:1.3cm; text-align:center;"><span t-esc="'{0:,.2f}'.format(l.quantity)"/></div>
|
|
<div style="width:1.3cm; text-align:center;"><span t-esc="'{0:,.2f}'.format(l.quantity)"/></div>
|