|
|
@@ -29,7 +29,7 @@
|
|
|
<template id="report_factura_conecta5">
|
|
|
<t t-call="report.html_container">
|
|
|
<t t-foreach="docs" t-as="o">
|
|
|
- <div class="page" style="width:35cm; height:23cm; margin:0; padding:0; font-size:10px; font-family:Arial, Helvetica, sans-serif;">
|
|
|
+ <div class="page" style="width:35cm; height:23cm; margin:0; padding:0; font-size:12px; font-family:Arial, Helvetica, sans-serif;">
|
|
|
|
|
|
<!-- 3 copias una debajo de otra -->
|
|
|
<t t-foreach="[1,2,3]" t-as="i">
|
|
|
@@ -37,14 +37,14 @@
|
|
|
|
|
|
<!-- Fecha de emisión -->
|
|
|
<div style="position:absolute; top:0.5cm; left:9cm;">
|
|
|
- <span t-field="o.date_invoice" t-field-options='{"format": "dd/MM/yyyy"}'/>
|
|
|
+ <span t-field="o.date_invoice" t-field-options='{"format": "dd MMM yyyy"}'/>
|
|
|
</div>
|
|
|
|
|
|
<!-- Condición de venta -->
|
|
|
- <div style="position:absolute; top:0.5cm; left:18cm;">
|
|
|
+ <div style="position:absolute; top:0.5cm; left:24cm;">
|
|
|
<t t-if="o.contado">X</t>
|
|
|
</div>
|
|
|
- <div style="position:absolute; top:0.5cm; left:19.3cm;">
|
|
|
+ <div style="position:absolute; top:0.5cm; left:26cm;">
|
|
|
<t t-if="o.credito">X</t>
|
|
|
</div>
|
|
|
|
|
|
@@ -54,8 +54,8 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- RUC -->
|
|
|
- <div style="position:absolute; top:1.8cm; left:2cm;">
|
|
|
- <span t-field="o.partner_id.vat"/>
|
|
|
+ <div style="position:absolute; top:1.8cm; left:19cm;">
|
|
|
+ <span t-field="o.partner_id.ruc"/>
|
|
|
</div>
|
|
|
|
|
|
<!-- Dirección -->
|
|
|
@@ -65,14 +65,14 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Teléfono -->
|
|
|
- <div style="position:absolute; top:2.4cm; left:13cm;">
|
|
|
- <span t-field="o.partner_id.phone"/>
|
|
|
+ <div style="position:absolute; top:2.4cm; left:18cm;">
|
|
|
+ <span t-field="o.partner_id.mobile"/>
|
|
|
</div>
|
|
|
-
|
|
|
+ <div style=" height: 0.7cm; clear: both;"></div>
|
|
|
<!-- Tabla de líneas -->
|
|
|
<div style="position:absolute; top:3.3cm; left:1cm; width:33cm;">
|
|
|
<t t-foreach="o.invoice_line" t-as="l">
|
|
|
- <div style="display:flex; width:100%; font-size:10px; line-height:0.5cm;">
|
|
|
+ <div style="display:flex; width:100%; font-size:11px; line-height:0.5cm;">
|
|
|
<div style="width:1cm; text-align:center;">
|
|
|
<span t-esc="'{0:,.2f}'.format(l.quantity)"/>
|
|
|
</div>
|
|
|
@@ -92,7 +92,7 @@
|
|
|
<span t-esc="'{0:,.0f}'.format(l.price_subtotal)"/>
|
|
|
</t>
|
|
|
</div>
|
|
|
- <div style="width:2.2cm; text-align:right;">
|
|
|
+ <div style="width:2.4cm; text-align:right;">
|
|
|
<t t-if="any(t.amount==10 for t in l.invoice_line_tax_id)">
|
|
|
<span t-esc="'{0:,.0f}'.format(l.price_subtotal)"/>
|
|
|
</t>
|