|
@@ -10,29 +10,15 @@
|
|
|
file="factura_venta_flashnet.report_factura_flashnet"
|
|
|
/>
|
|
|
|
|
|
- <template id="report_header_custom" inherit_id="report.external_layout_header">
|
|
|
- <xpath expr="//div[@class='header']" position="replace">
|
|
|
- <div class ="header">
|
|
|
- </div>
|
|
|
- </xpath>
|
|
|
- </template>
|
|
|
-
|
|
|
- <template id="external_layout_footer" inherit_id="report.external_layout_footer">
|
|
|
- <xpath expr="//div[@class='footer']" position="replace">
|
|
|
- <div class ="footer">
|
|
|
- </div>
|
|
|
- </xpath>
|
|
|
- </template>
|
|
|
-
|
|
|
<template id="report_factura_flashnet">
|
|
|
<t t-call="report.html_container">
|
|
|
- <t t-call="report.external_layout">
|
|
|
- <t t-foreach="[1]" t-as="i">
|
|
|
+ <t t-foreach="[1]" t-as="i">
|
|
|
<div class="page">
|
|
|
<style type="text/css">
|
|
|
body{
|
|
|
- font-size: 2.9mm;
|
|
|
- font-family: Arial, Helvetica;
|
|
|
+ font-size: 3.2mm;
|
|
|
+
|
|
|
+ font-family: Arial;
|
|
|
}
|
|
|
div{
|
|
|
padding: 0px;
|
|
@@ -41,308 +27,448 @@
|
|
|
width:19.3cm;
|
|
|
}
|
|
|
.logo{
|
|
|
- height: 1.9cm;
|
|
|
+ height: 3.90cm;
|
|
|
width: 100%;
|
|
|
top: 0px;
|
|
|
}
|
|
|
- .linea1{
|
|
|
- position: relative;
|
|
|
- top: -0.12cm;
|
|
|
- min-height: 0.5cm;
|
|
|
- }
|
|
|
- .cab-articulos{
|
|
|
- height: 0.4cm;
|
|
|
- clear: both;
|
|
|
- }
|
|
|
-
|
|
|
- .art-col11{
|
|
|
- width:3.5cm;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
- .art-col12{
|
|
|
- width:1.8cm;
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
- .art-col13{
|
|
|
- width:5.3cm;
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
- .art-col14{
|
|
|
- width:3.2cm;
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
- .art-col15{
|
|
|
- width:0.8cm;
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
- .art-col16{
|
|
|
- width:4.7cm;
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
- .art-col17{
|
|
|
- width:1.5cm;
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
- .fecha_emision_data{
|
|
|
- width: 1.8cm;
|
|
|
- padding-left: 3.5cm;
|
|
|
- float: left;
|
|
|
- min-height: 0.4cm;
|
|
|
- }
|
|
|
- .fecha_emision_mes{
|
|
|
- width: 4.5cm;
|
|
|
- padding-left: 1.5cm;
|
|
|
- float: left;
|
|
|
- min-height: 0.4cm;
|
|
|
- }
|
|
|
- .fecha_emision_ano{
|
|
|
- width: 1.3cm;
|
|
|
- padding-left: 0.9cm;
|
|
|
- float: left;
|
|
|
- min-height: 0.4cm;
|
|
|
- }
|
|
|
- .contado_x{
|
|
|
- width: 0.8cm;
|
|
|
- float: left;
|
|
|
- padding-left: 2cm;
|
|
|
- min-height: 0.4cm;
|
|
|
- }
|
|
|
- .credito_x{
|
|
|
- width: 0.8cm;
|
|
|
- float: left;
|
|
|
- padding-left: 0.6cm;
|
|
|
- min-height: 0.4cm;
|
|
|
- }
|
|
|
- .linea2{
|
|
|
- position: relative;
|
|
|
- top: -0.12cm;
|
|
|
- min-height: 0.5cm;
|
|
|
- }
|
|
|
- .ruc_data{
|
|
|
- width: 5.9cm;
|
|
|
- float: left;
|
|
|
- padding-left: 4.2cm;
|
|
|
- min-height: 0.3cm;
|
|
|
- }
|
|
|
- .telefono_data{
|
|
|
- width: 8.5cm;
|
|
|
- float: left;
|
|
|
- padding-left: 2.2cm;
|
|
|
- min-height: 0.3cm;
|
|
|
- }
|
|
|
- .linea3{
|
|
|
- position: relative;
|
|
|
- top: -0.12cm;
|
|
|
- min-height: 0.3cm;
|
|
|
- }
|
|
|
- .razon_data{
|
|
|
- width: 15cm;
|
|
|
- float: left;
|
|
|
- padding-left: 4.9cm;
|
|
|
- min-height: 0.3cm;
|
|
|
- }
|
|
|
-
|
|
|
- .linea4{
|
|
|
- position: relative;
|
|
|
- top: -0.12cm;
|
|
|
- min-height: 0.3cm;
|
|
|
- }
|
|
|
- .direccion_data{
|
|
|
- width: 12cm;
|
|
|
- float: left;
|
|
|
- padding-left: 4cm;
|
|
|
- min-height: 0.3cm;
|
|
|
- }
|
|
|
- .nota_remision_data{
|
|
|
- width: 4cm;
|
|
|
- float: left;
|
|
|
- padding-left: 1.5cm;
|
|
|
- min-height: 0.3cm;
|
|
|
- }
|
|
|
-
|
|
|
- .cab-articulos{
|
|
|
- height: 0.4cm;
|
|
|
- clear: both;
|
|
|
+ .logo1{
|
|
|
+ height: 4.4cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
}
|
|
|
.articulos{
|
|
|
- height: 2.6cm;
|
|
|
+ height: 3.385cm;
|
|
|
}
|
|
|
- .art-col1{
|
|
|
- width:0.4cm;
|
|
|
+ .art-col11{
|
|
|
+ padding-left: 0.2mm;
|
|
|
+ width:3.8cm;
|
|
|
+ font-size: 2.9mm;
|
|
|
text-align: center;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
}
|
|
|
- .art-col2{
|
|
|
- padding-left: 0.7cm;
|
|
|
- width:1cm;
|
|
|
- text-align: center;
|
|
|
+ .art-col13{
|
|
|
+ padding-left: 0.5cm;
|
|
|
+ font-size: 3.2mm;
|
|
|
+ width:1.4cm;
|
|
|
+ text-align: left;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
}
|
|
|
- .art-col3{
|
|
|
- padding-left: 0.3cm;
|
|
|
- width:7.3cm;
|
|
|
+ .art-col14{
|
|
|
+ width:3.5cm;
|
|
|
+ font-size: 3.2mm;
|
|
|
+ padding-left: 0.8mm;
|
|
|
+ text-align: center;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+
|
|
|
}
|
|
|
- .art-col4{
|
|
|
- width:0.9cm;
|
|
|
+ .art-col12{
|
|
|
+ padding-left: 0.2mm;
|
|
|
+ width:2.40cm;
|
|
|
+ font-size: 3.2mm;
|
|
|
text-align: right;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
}
|
|
|
- .art-col5{
|
|
|
- width:2.8cm;
|
|
|
+ .art-col15{
|
|
|
+ width:3.72cm;
|
|
|
+ font-size: 2.9mm;
|
|
|
text-align: right;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+
|
|
|
}
|
|
|
- .art-col6{
|
|
|
- width:2.7cm;
|
|
|
+
|
|
|
+ .art-col16{
|
|
|
+ width:2.4cm;
|
|
|
+ font-size: 3mm;
|
|
|
+ vertical-align: top;
|
|
|
text-align: right;
|
|
|
+ min-height: 0.6cm;
|
|
|
+
|
|
|
}
|
|
|
- .art-col7{
|
|
|
- width:1.5cm;
|
|
|
+ .art-col17{
|
|
|
+ width:3.2cm;
|
|
|
+ font-size: 3.5mm;
|
|
|
text-align: right;
|
|
|
+ vertical-align: top;
|
|
|
+ min-height: 0.6cm;
|
|
|
+
|
|
|
}
|
|
|
- .logo1{
|
|
|
- height: 3cm;
|
|
|
- width: 100%;
|
|
|
- top: 0px;
|
|
|
- }
|
|
|
- .subtotal_data{
|
|
|
- width: 6cm;
|
|
|
+ .fecha_emision_data{
|
|
|
+ width: 11.1cm;
|
|
|
+ padding-left:2.8cm;
|
|
|
float: left;
|
|
|
- padding-top: 0.002cm;
|
|
|
- padding-left: 2.3cm;
|
|
|
- min-height: 0.2cm;
|
|
|
+ min-height: 0.9cm;
|
|
|
}
|
|
|
- .subtotal_excentas{
|
|
|
+ .contado_x{
|
|
|
width: 2cm;
|
|
|
+ float: right;
|
|
|
+ padding-left: 2.45cm;
|
|
|
+ min-height: 0.9cm;
|
|
|
+ }
|
|
|
+ .credito_x{
|
|
|
+ width:2.5cm;
|
|
|
float: left;
|
|
|
- text-align: right;
|
|
|
- padding-left: 10cm;
|
|
|
- padding-top: 0.7cm;
|
|
|
- min-height: 0.2cm;
|
|
|
+ padding-left: 1.0cm;
|
|
|
+ min-height: 0.9cm;
|
|
|
}
|
|
|
- .subtotal_5{
|
|
|
- width: 1cm;
|
|
|
+
|
|
|
+ .ruc_data{
|
|
|
+ width: 11.7cm;
|
|
|
float: left;
|
|
|
- padding-left: 1cm;
|
|
|
- text-align: right;
|
|
|
- padding-top: 0.7cm;
|
|
|
- min-height: 0.2cm;
|
|
|
+ padding-left: 4.2cm;
|
|
|
+ min-height: 0.7cm;
|
|
|
}
|
|
|
- .subtotal_10{
|
|
|
- width: 2cm;
|
|
|
+ .razon_data{
|
|
|
+ width: 11.7cm;
|
|
|
float: left;
|
|
|
- padding-left: 1cm;
|
|
|
- text-align: right;
|
|
|
- padding-top: 0.7cm;
|
|
|
- min-height: 0.2cm;
|
|
|
+ padding-left: 4.0cm;
|
|
|
+ min-height: 0.7cm;
|
|
|
}
|
|
|
- .total_pagar_data{
|
|
|
+ .direccion_data{
|
|
|
width: 13.5cm;
|
|
|
float: left;
|
|
|
- padding-top: 0.01mm;
|
|
|
- padding-left: 5cm;
|
|
|
- min-height: 0.3cm;
|
|
|
+ padding-left:2.7cm;
|
|
|
+ min-height: 0.7m;
|
|
|
}
|
|
|
- .iva_5_data{
|
|
|
- width: 5cm;
|
|
|
+ .telefono_data{
|
|
|
+ width: 3.5cm;
|
|
|
+ float: right;
|
|
|
+ padding-left: 0.1mm;
|
|
|
+ min-height: 0.7;
|
|
|
+ }
|
|
|
+ .nota_remision_data{
|
|
|
+ width: 13cm;
|
|
|
float: left;
|
|
|
- padding-top: 0.6cm;
|
|
|
- padding-left: 2.7cm;
|
|
|
- min-height: 0.25cm;
|
|
|
+ padding-left: 2.8cm;
|
|
|
+ min-height: 0cm;
|
|
|
}
|
|
|
- .iva_10_data{
|
|
|
+ .dias_credito{
|
|
|
width: 5cm;
|
|
|
float: left;
|
|
|
- padding-top: 0.6cm;
|
|
|
- padding-left: 3.8cm;
|
|
|
- min-height: 0.25cm;
|
|
|
+ padding-left: 0.8cm;
|
|
|
+ min-height: 0cm;
|
|
|
}
|
|
|
- .iva_total_data{
|
|
|
- width: 7cm;
|
|
|
- float: left;
|
|
|
- padding-top: 0.6cm;
|
|
|
- padding-left: 4.8cm;
|
|
|
- min-height: 0.25cm;
|
|
|
+ .cab-articulos{
|
|
|
+ height: 1.57cm;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+ .divisoria1{
|
|
|
+ height: 6.6cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+ .cab-articulos2{
|
|
|
+ height: 0.2cm;
|
|
|
+ clear: both;
|
|
|
}
|
|
|
|
|
|
+ .borderless td, .borderless th {
|
|
|
+ border: none !important;
|
|
|
+ }
|
|
|
+ .table-condensed>tbody>tr>td {
|
|
|
+ padding: 1px !important;
|
|
|
+ }
|
|
|
+ .table-super-condensed>tbody>tr>td {
|
|
|
+ padding: 5px !important;
|
|
|
+ }
|
|
|
+ .table-condensed2>tbody>tr>td {
|
|
|
+ padding: 2.5px !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ .table-condensed3>tbody>tr>td {
|
|
|
+ padding: 0.5px !important;
|
|
|
+ }
|
|
|
</style>
|
|
|
<t t-foreach="docs" t-as="o">
|
|
|
<div class="pagina">
|
|
|
<div class="logo"> </div>
|
|
|
+ <table class="tab-articulos2">
|
|
|
+ <td class="art-col11"> </td>
|
|
|
+ <td class="art-col13">
|
|
|
|
|
|
- <!-- <div class="linea1">
|
|
|
- <div class="fecha_emision_data"></div>
|
|
|
- <div class="fecha_emision_mes"></div>
|
|
|
- <div class="fecha_emision_ano"></div>
|
|
|
- <div class="contado_x">
|
|
|
+ <span t-field="o.date_invoice" t-field-options='{"format": "dd"}'/>
|
|
|
|
|
|
+ </td>
|
|
|
+ <td class="art-col14">
|
|
|
+ <span t-field="o.date_invoice" t-field-options='{"format": "MMMM"}'/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col12">
|
|
|
+ <span t-field="o.date_invoice" t-field-options='{"format": "yy"}'/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col15">
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="art-col16">
|
|
|
+ <div class="contado_x">
|
|
|
+ <t t-if="o.contado == True">x</t>
|
|
|
</div>
|
|
|
+ </td>
|
|
|
+ <td class="art-col17">
|
|
|
<div class="credito_x">
|
|
|
+ <t t-if="o.credito == True">x</t>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </table>
|
|
|
+ <tr>
|
|
|
+ <div class="ruc_data"><span t-field="o.partner_id.ruc"/></div>
|
|
|
+ </tr>
|
|
|
|
|
|
+ <tr>
|
|
|
+ <div class="razon_data"><span t-field="o.partner_id.name"/></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="direccion_data">
|
|
|
+ <t t-f="o.partner_id.street"><span t-field="o.partner_id.street"/> </t>
|
|
|
+ <t t-f="not o.partner_id.street"> </t>
|
|
|
</div>
|
|
|
- </div> -->
|
|
|
|
|
|
- <!-- <div class="linea2">
|
|
|
- <div class="ruc_data"><span t-field="o.partner_id.ruc"/></div>
|
|
|
- <div class="telefono_data"><span t-field="o.partner_id.phone"/></div>
|
|
|
- </div>
|
|
|
+ </tr>
|
|
|
|
|
|
- <div class="linea3">
|
|
|
- <div class="razon_data"><span t-field="o.partner_id.name"/></div>
|
|
|
+ <tr>
|
|
|
+ <div class="nota_remision_data"></div>
|
|
|
+ <div class="dias_credito"></div>
|
|
|
+ </tr>
|
|
|
|
|
|
+ <div class="cab-articulos"> </div>
|
|
|
+ <div style="height:3.4cm; padding-right:0.9cm;">
|
|
|
+ <div style="font-family: Arial;">
|
|
|
+ <table class="table borderless table-condensed">
|
|
|
+ <t t-set="valor_exentas" t-value="0"/>
|
|
|
+ <t t-set="valor_5" t-value="0"/>
|
|
|
+ <t t-set="valor_10" t-value="0"/>
|
|
|
+ <tbody>
|
|
|
+ <tr t-foreach="o.invoice_line" t-as="l">
|
|
|
+ <!-- CANTIDAD -->
|
|
|
+ <td style="font-size:9.5px;font-family: Arial;width:1.7cm;overflow: auto; text-align: left;">
|
|
|
+ <span t-esc="'%.0f'%l.quantity"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <!-- NOMBRE DEL PRODUCTO -->
|
|
|
+ <td style="font-size:9px;font-family: Arial;width:2.97cm;text-align: left;padding-left: 0.3cm;">
|
|
|
+ <span t-field="l.product_id.name"/>
|
|
|
+ </td>
|
|
|
+ <!-- PRECIO UNITARIO -->
|
|
|
+ <td style="font-size:9.2px;font-family: Arial;width:0.15cm;overflow: auto; text-align: right;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ </td>
|
|
|
+ <!-- EXENTAS -->
|
|
|
+ <td style="font-size:9.2px;font-family: Arial;width:1.0cm;overflow: auto; text-align: right;">
|
|
|
+ <span t-if="'IVA 5% Venta' not in [ilt.name for ilt in l.invoice_line_tax_id] and 'IVA 10% Venta' not in [ilt.name for ilt in l.invoice_line_tax_id]">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(l.quantity * l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(l.quantity * l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ <t t-set="valor_exentas" t-value="valor_exentas+(l.quantity * l.price_unit)"/>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <!-- IVA 5% -->
|
|
|
+ <td style="font-size:9.2px;font-family: Arial;width:1.0cm;overflow: auto; text-align: right;">
|
|
|
+ <span t-if="'IVA 5% Venta' in [ilt.name for ilt in l.invoice_line_tax_id] and 'IVA 10% Venta' not in [ilt.name for ilt in l.invoice_line_tax_id]">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(l.quantity * l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(l.quantity * l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ <t t-set="valor_5" t-value="valor_5+(l.quantity * l.price_unit)"/>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <!-- IVA 10% -->
|
|
|
+ <td style="font-size:9.2px;font-family: Arial;width:0.8cm;overflow: auto; text-align: right;padding-right: 0.2cm;">
|
|
|
+ <span t-if="'IVA 10% Venta' in [ilt.name for ilt in l.invoice_line_tax_id]">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(l.quantity * l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(l.quantity * l.price_unit)"/>
|
|
|
+ </t>
|
|
|
+ <t t-set="valor_10" t-value="valor_10+(l.quantity * l.price_unit)"/>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="linea4">
|
|
|
- <div class="direccion_data">
|
|
|
- <t t-f="o.partner_id.street"><span t-field="o.partner_id.street"/></t>
|
|
|
- <t t-f="not o.partner_id.street"> </t>
|
|
|
+
|
|
|
+
|
|
|
+ <div style="height:0.5cm;padding-left:1.7cm;padding-right:0.9cm;">
|
|
|
+ <t t-set="total_exentas" t-value="0"/>
|
|
|
+ <t t-set="total_5" t-value="0"/>
|
|
|
+ <t t-set="total_10" t-value="0"/>
|
|
|
+ <t t-set="iva_5" t-value="0"/>
|
|
|
+ <t t-set="iva_10" t-value="0"/>
|
|
|
+ <t t-set="iva_exentas" t-value="0"/>
|
|
|
+ <table class="table borderless table-condensed3">
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:1.7cm;overflow: auto; text-align: center;min-height: 0.9;"></td>
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:2.80cm;overflow: auto; text-align: center;min-height: 0.9;"></td>
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:1.7cm;overflow: auto; text-align: center;min-height: 0.9;"></td>
|
|
|
+ <td style="font-size: 3mm;font-family: Arial;width:0.5cm;overflow: auto; text-align: center;min-height: 0.9;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(valor_exentas)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(valor_exentas)"/>
|
|
|
+ </t>
|
|
|
+ <t t-set="iva_exentas" t-value="valor_exentas"/>
|
|
|
+ </td>
|
|
|
+ <td style="font-size: 3mm;font-family: Arial;width:0.5cm;overflow: auto; text-align: right;min-height: 0.9;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(valor_5)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(valor_5)"/>
|
|
|
+ </t>
|
|
|
+ <t t-set="iva_5" t-value="valor_5/21" />
|
|
|
+ </td>
|
|
|
+ <td style="font-size: 3mm;font-family: Arial;width:1.4cm;overflow: auto; text-align: right;min-height: 0.9;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(valor_10)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(valor_10)"/>
|
|
|
+ </t>
|
|
|
+ <t t-set="iva_10" t-value="(valor_10)/11" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
- <div class="nota_remision_data"> </div>
|
|
|
- </div> -->
|
|
|
- <table class="tab-articulos1">
|
|
|
- <td class="art-col11"></td>
|
|
|
- <td class="art-col12"><span t-field="o.date_invoice" t-field-options='{"format": "dd"}'/></td>
|
|
|
- <td class="art-col13"><span t-field="o.date_invoice" t-field-options='{"format": "MMMM"}'/></td>
|
|
|
- <td class="art-col14"><span t-field="o.date_invoice" t-field-options='{"format": "yy"}'/></td>
|
|
|
- <td class="art-col15"></td>
|
|
|
- <t t-if="o.contado == True">x</t>
|
|
|
- <t t-if="o.contado == False"></t>
|
|
|
- <td class="art-col16"></td>
|
|
|
- <td class="art-col17">
|
|
|
- <t t-if="o.credito == True">x</t>
|
|
|
- <t t-if="o.credito == False"></t>
|
|
|
- </td>
|
|
|
- </table>
|
|
|
- <div class="cab-articulos"> </div>
|
|
|
- <div class="articulos">
|
|
|
- <table class="tab-articulos">
|
|
|
- <tr t-foreach="o.invoice_line" t-as="l">
|
|
|
- <td class="art-col1"><span t-esc="'{0:,.0f}'.format(l.quantity)"/></td>
|
|
|
- <td class="art-col2"></td>
|
|
|
- <td class="art-col3"><span t-field="l.name"/></td>
|
|
|
- <td class="art-col4"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/></td>
|
|
|
- <td class="art-col5"> </td>
|
|
|
- <td class="art-col6"> </td>
|
|
|
- <td class="art-col7"><span t-esc="'{0:,.0f}'.format(l.price_unit*l.quantity)"/></td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ <div style="height:0.9cm;padding-top:-0.4cm; padding-right:0.9cm;">
|
|
|
+ <table class="table borderless table-condensed3">
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+ <!-- LINEA TOTAL EN LETRAS Y TOTAL GENERAL -->
|
|
|
+
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:2.0cm;overflow: auto; text-align: center;"></td>
|
|
|
+ <!-- <td style="padding-top:1.2cm;font-size:10px;font-family: Arial;width:0.3cm;overflow: auto; text-align: center;"></td> -->
|
|
|
+ <td style="font-size: 2.8mm;padding-left: 2.8cm;font-family: Arial;width:13.0cm;overflow: auto; text-align: left;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <div>Gs <span t-esc="convertir('%.0f'%o.amount_total,o.currency_id.en_letras)"/></div>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <div>Dólares <span t-esc="convertir('%.2f'%o.amount_total,o.currency_id.en_letras)"/></div>
|
|
|
+ </t>
|
|
|
+ </td>
|
|
|
+ <!-- <td style="padding-top:1.2cm;font-size:10px;font-family: Arial;width:0.5cm;overflow: auto; text-align: center;"></td>
|
|
|
+ <td style="padding-top:1.2cm;font-size:10px;font-family: Arial;width:0.5cm;overflow: auto; text-align: right;"></td>
|
|
|
+ <td style="padding-top:1.2cm;font-size:10px;font-family: Arial;width:0.7cm;overflow: auto; text-align: right;">
|
|
|
+ </td> -->
|
|
|
+ <td style="font-size: 3mm;font-family: Arial;width:1.8cm;overflow: auto; text-align: right;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(o.amount_total)"/>
|
|
|
+ </t>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div style="height:0.9cm;padding-top:-0.3cm;">
|
|
|
+ <table class="table borderless table-condensed3">
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+ <td style="font-size:2.9mm;font-family: Arial;width:2.2cm;overflow: auto; text-align: center;"></td>
|
|
|
+ <td style="font-size:3mm;font-family: Arial;width:2.5cm;overflow: auto; text-align: center;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <div>
|
|
|
+ <t t-if="iva_5 != 0">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(iva_5)"/>
|
|
|
+ </t>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <div>
|
|
|
+ <t t-if="iva_5 != 0">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(iva_5)"/>
|
|
|
+ </t>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </td>
|
|
|
+ <td style="font-size:3mm;font-family: Arial;width:6cm;overflow: auto; text-align: right;">
|
|
|
|
|
|
- <div class="subtotal_data"> </div>
|
|
|
- <div class="subtotal_excentas"> </div>
|
|
|
- <div class="subtotal_5"> </div>
|
|
|
- <td style="font-size:10px;">
|
|
|
- <div class="subtotal_10"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></div>
|
|
|
- </td>
|
|
|
- <div class="total_pagar_data"><span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
|
|
|
-
|
|
|
- <div class="iva_5_data"> </div>
|
|
|
- <div class="iva_10_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div>
|
|
|
- <div class="iva_total_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div>
|
|
|
+ </td>
|
|
|
+ <td style="font-size:2.9mm;font-family: Arial;width:2cm;overflow: auto; text-align: left;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <div>
|
|
|
+ <t t-if="iva_10 != 0">
|
|
|
+
|
|
|
+ <span t-esc="'{0:,.0f}'.format(iva_10)"/>
|
|
|
+ </t>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+ <div>
|
|
|
+ <t t-if="iva_10 != 0">
|
|
|
+ <!-- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
|
|
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -->
|
|
|
+ <span t-esc="'{0:,.0f}'.format(iva_10)"/>
|
|
|
+ </t>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </td>
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:2.0cm;overflow: auto; text-align: right;">
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td style="font-size:3mm;font-family: Arial;width:2.5cm;overflow: auto; text-align: center;">
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+
|
|
|
+ <span t-esc="'{0:,.0f}'.format(iva_5+iva_10)"/>
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id != 166">
|
|
|
+
|
|
|
+ <span t-esc="'{0:,.0f}'.format(iva_5+iva_10)"/>
|
|
|
+ </t>
|
|
|
+ </td>
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:2.3cm;overflow: auto; text-align: right;">
|
|
|
+ </td>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <div class="logo1"> </div>
|
|
|
</div>
|
|
|
- <div class="logo1"> </div>
|
|
|
+
|
|
|
</t>
|
|
|
+
|
|
|
</div>
|
|
|
- </t>
|
|
|
</t>
|
|
|
</t>
|
|
|
</template>
|
|
|
-
|
|
|
</data>
|
|
|
</openerp>
|