|
@@ -2,355 +2,395 @@
|
|
<openerp>
|
|
<openerp>
|
|
<data>
|
|
<data>
|
|
|
|
|
|
- <report id="presupuesto_venta_gavilan"
|
|
|
|
|
|
+ <report id="presupuesto_venta_gavilan"
|
|
model="sale.order"
|
|
model="sale.order"
|
|
string="Presupuesto de Venta"
|
|
string="Presupuesto de Venta"
|
|
- report_type="qweb-pdf"
|
|
|
|
|
|
+ report_type="qweb-html"
|
|
name="presupuesto_venta_gavilan.report_presupuesto_gavilan"
|
|
name="presupuesto_venta_gavilan.report_presupuesto_gavilan"
|
|
file="presupuesto_venta_gavilan.report_presupuesto_gavilan"
|
|
file="presupuesto_venta_gavilan.report_presupuesto_gavilan"
|
|
- />
|
|
|
|
|
|
+ />
|
|
|
|
|
|
- <template id="report_presupuesto_gavilan">
|
|
|
|
- <t t-call="report.html_container">
|
|
|
|
|
|
|
|
- <div class="page">
|
|
|
|
- <style type="text/css">
|
|
|
|
- body{
|
|
|
|
- font-size: 3mm;
|
|
|
|
- font-family: Arial;
|
|
|
|
- }
|
|
|
|
- div{
|
|
|
|
- padding: 0px;
|
|
|
|
- }
|
|
|
|
- .pagina{
|
|
|
|
- width:19.3cm;
|
|
|
|
- height: 15cm;
|
|
|
|
- padding-left: 3cm;
|
|
|
|
- padding-right: 0cm;
|
|
|
|
- }
|
|
|
|
- .descripcion1{
|
|
|
|
- width: 11.2cm;
|
|
|
|
- font-size: 13px;
|
|
|
|
- padding-top: 0.2cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0cm;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- .ruc{
|
|
|
|
- width: 13cm;
|
|
|
|
- font-size: 10px;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0cm;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .ciudad{
|
|
|
|
- width: 13cm;
|
|
|
|
- float: left;
|
|
|
|
- font-size: 10px;
|
|
|
|
- min-height: 0cm;
|
|
|
|
- }
|
|
|
|
- .email{
|
|
|
|
- width: 13cm;
|
|
|
|
- font-size: 10px;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0cm;
|
|
|
|
- }
|
|
|
|
- .tel{
|
|
|
|
- width: 13cm;
|
|
|
|
- float: left;
|
|
|
|
- font-size: 10px;
|
|
|
|
- min-height: 0cm;
|
|
|
|
- }
|
|
|
|
- .table-condensed>tr>td {
|
|
|
|
- padding: 1px !important;
|
|
|
|
- }
|
|
|
|
- .divisoria{
|
|
|
|
- height: 0.5cm;
|
|
|
|
- clear: both;
|
|
|
|
- }
|
|
|
|
- .titulo{
|
|
|
|
- width: 19.2cm;
|
|
|
|
- text-align: center;
|
|
|
|
- width: 100%;
|
|
|
|
- min-height: 0.9cm;
|
|
|
|
- }
|
|
|
|
- .fecha_emision_data{
|
|
|
|
- width: 12.5cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0.5cm;
|
|
|
|
- }
|
|
|
|
- .vendor{
|
|
|
|
- width: 6.7cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0.5cm;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .razon_data{
|
|
|
|
- width: 12.5cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
- .ruc_data{
|
|
|
|
- width: 6.7cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
- .direccion_data{
|
|
|
|
- width: 12.5cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
- .telefono_data{
|
|
|
|
- width: 6.7cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .note{
|
|
|
|
- width: 19.2cm;
|
|
|
|
- float: left;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
|
|
+ <template id="report_header_custom" inherit_id="report.external_layout_header">
|
|
|
|
+ <xpath expr="//div[@class='header']" position="replace">
|
|
|
|
+ <div class ="header">
|
|
|
|
+ </div>
|
|
|
|
+ </xpath>
|
|
|
|
+ </template>
|
|
|
|
|
|
- .cab-articulos{
|
|
|
|
- height: 0.4cm;
|
|
|
|
- clear: both;
|
|
|
|
- }
|
|
|
|
- .articulos{
|
|
|
|
- height: 4.5cm;
|
|
|
|
- }
|
|
|
|
- .art-col1{
|
|
|
|
- width:1.3cm;
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
|
|
+ <template id="external_layout_footer" inherit_id="report.external_layout_footer">
|
|
|
|
+ <xpath expr="//div[@class='footer']" position="replace">
|
|
|
|
+ <div class ="footer">
|
|
|
|
+ </div>
|
|
|
|
+ </xpath>
|
|
|
|
+ </template>
|
|
|
|
|
|
- .art-col5{
|
|
|
|
- padding-left: 0.3cm;
|
|
|
|
- width:9cm;
|
|
|
|
- }
|
|
|
|
- .art-col6{
|
|
|
|
- width:2.9cm;
|
|
|
|
- text-align: right;
|
|
|
|
- }
|
|
|
|
- .art-col7{
|
|
|
|
- width:3cm;
|
|
|
|
- text-align: right;
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
|
|
- .spad{
|
|
|
|
- width: 8.5cm;
|
|
|
|
- float: left;
|
|
|
|
- padding-top: 0.09cm;
|
|
|
|
- padding-bottom: 0.12cm;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
|
|
|
|
- .subtotal_mat{
|
|
|
|
- width: 4.3cm;
|
|
|
|
- float: left;
|
|
|
|
- text-align: right;
|
|
|
|
- padding-top: 0.09cm;
|
|
|
|
- padding-left: 1cm;
|
|
|
|
- padding-bottom: 0.12cm;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
- .subtotal_mo{
|
|
|
|
- width: 3.6cm;
|
|
|
|
- float: left;
|
|
|
|
- text-align: right;
|
|
|
|
- padding-top: 0.09cm;
|
|
|
|
- padding-bottom: 0.12cm;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
- }
|
|
|
|
- .logo1{
|
|
|
|
- height: 2cm;
|
|
|
|
- width: 100%;
|
|
|
|
- top: 0px;
|
|
|
|
|
|
+ <template id="report_presupuesto_gavilan">
|
|
|
|
+ <t t-call="report.external_layout">
|
|
|
|
+ <div class="page">
|
|
|
|
+ <style type="text/css">
|
|
|
|
+ body{
|
|
|
|
+ font-size: 3.2mm;
|
|
|
|
+ font-family: Arial;
|
|
}
|
|
}
|
|
- .foto_personal {
|
|
|
|
- position: absolute;
|
|
|
|
- top: 1.5cm;
|
|
|
|
- left:0.25cm;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </style>
|
|
|
|
- <t t-foreach="docs" t-as="o">
|
|
|
|
- <div class="pagina">
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <div class="divisoria"> </div>
|
|
|
|
- <div class="divisoria"> </div>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <div class="row">
|
|
|
|
- <div class="col-xs-4">
|
|
|
|
-
|
|
|
|
- <tr>
|
|
|
|
- <div class="descripcion1"><b><i>GAVILAN COMPANY</i></b></div>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <div class="ruc"><b>R.U.C. N°: </b></div>
|
|
|
|
- </tr>
|
|
|
|
-
|
|
|
|
- <tr>
|
|
|
|
- <div class="ciudad"><b>Av. Julio C. Riquelme c/ Av. San José</b></div>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <div class="email"><b>gavilancompany@gmail.com - R.U.C. N°: </b></div>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <div class="tel"><b>(0982) 988 898</b></div>
|
|
|
|
- </tr>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- <div class="col-xs-4">
|
|
|
|
- <center>
|
|
|
|
- <!-- <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 150px;max-width: 50px;"/> -->
|
|
|
|
- </center>
|
|
|
|
- </div>
|
|
|
|
|
|
+ div{
|
|
|
|
+ padding: 0px;
|
|
|
|
+ }
|
|
|
|
+ .pagina{
|
|
|
|
+ width:19.3cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .descripcion{
|
|
|
|
+ width: 11.2cm;
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ padding-top: 0.5cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .descripcion1{
|
|
|
|
+ width: 11.2cm;
|
|
|
|
+ font-size: 17px;
|
|
|
|
+ padding-top: 0.2cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .descripcion11{
|
|
|
|
+ width: 11.2cm;
|
|
|
|
+ font-size: 17px;
|
|
|
|
+ padding-top: 0.2cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .descripcion2{
|
|
|
|
+ width: 13cm;
|
|
|
|
+ font-size: 10px;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .descripcion3{
|
|
|
|
+ width: 15cm;
|
|
|
|
+ font-size: 10px;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+ .descripcion4{
|
|
|
|
+ width: 15cm;
|
|
|
|
+ font-size: 10px;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .email{
|
|
|
|
+ width: 13cm;
|
|
|
|
+ font-size: 10px;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .ciudad{
|
|
|
|
+ width: 13cm;
|
|
|
|
+ float: left;
|
|
|
|
+ font-size: 10px;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+ .tel{
|
|
|
|
+ width: 13cm;
|
|
|
|
+ float: left;
|
|
|
|
+ font-size: 10px;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+ .rucdata{
|
|
|
|
+ width: 13cm;
|
|
|
|
+ float: left;
|
|
|
|
+ font-size: 10px;
|
|
|
|
+ min-height: 0cm;
|
|
|
|
+ }
|
|
|
|
+ .table-condensed>tbody>tr>td {
|
|
|
|
+ padding: 1px !important;
|
|
|
|
+ }
|
|
|
|
+ .divisoria{
|
|
|
|
+ height: 0.9cm;
|
|
|
|
+ clear: both;
|
|
|
|
+ }
|
|
|
|
+ .titulo{
|
|
|
|
+ width: 19.2cm;
|
|
|
|
+ text-align: center;
|
|
|
|
+ width: 100%;
|
|
|
|
+ min-height: 0.9cm;
|
|
|
|
+ }
|
|
|
|
+ .fecha_emision_data{
|
|
|
|
+ width: 12.5cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.5cm;
|
|
|
|
+ }
|
|
|
|
+ .vendor{
|
|
|
|
+ width: 6.7cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.5cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .razon_data{
|
|
|
|
+ width: 12.5cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .ruc_data{
|
|
|
|
+ width: 6.7cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .direccion_data{
|
|
|
|
+ width: 19.2cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .telefono_data{
|
|
|
|
+ width: 19.2cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .note{
|
|
|
|
+ width: 19.2cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .cab-articulos{
|
|
|
|
+ height: 0.4cm;
|
|
|
|
+ clear: both;
|
|
|
|
+ }
|
|
|
|
+ .articulos{
|
|
|
|
+ height: 4.5cm;
|
|
|
|
+ }
|
|
|
|
+ .art-col1{
|
|
|
|
+ width:2.3cm;
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
|
|
+ .art-col2{
|
|
|
|
+ width:11.3cm;
|
|
|
|
+ text-align: left;
|
|
|
|
+ }
|
|
|
|
+ .art-col3{
|
|
|
|
+ padding-left: 0.5cm;
|
|
|
|
+ width:3cm;
|
|
|
|
+ text-align: right;
|
|
|
|
+ }
|
|
|
|
+ .art-col4{
|
|
|
|
+ padding-left: 0.5cm;
|
|
|
|
+ width:3cm;
|
|
|
|
+ text-align: right;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .spad{
|
|
|
|
+ width: 8.5cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-top: 0.09cm;
|
|
|
|
+ padding-bottom: 0.12cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .sub_total{
|
|
|
|
+ width: 8cm;
|
|
|
|
+ float: left;
|
|
|
|
+ text-align: right;
|
|
|
|
+ padding-top: 0.09cm;
|
|
|
|
+ font-size: 3.5mm;
|
|
|
|
+ padding-left: 9.5cm;
|
|
|
|
+ padding-bottom: 0.12cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .total_iva{
|
|
|
|
+ width: 8cm;
|
|
|
|
+ float: left;
|
|
|
|
+ text-align: right;
|
|
|
|
+ padding-top: 0.09cm;
|
|
|
|
+ font-size: 3.5mm;
|
|
|
|
+ padding-left: 9.5cm;
|
|
|
|
+ padding-bottom: 0.12cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .total_total{
|
|
|
|
+ width: 8cm;
|
|
|
|
+ float: left;
|
|
|
|
+ text-align: right;
|
|
|
|
+ padding-top: 0.09cm;
|
|
|
|
+ font-size: 3.5mm;
|
|
|
|
+ padding-left: 9.5cm;
|
|
|
|
+ padding-bottom: 0.12cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .total_pagar_data{
|
|
|
|
+ width: 19.2cm;
|
|
|
|
+ float: left;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .logo1{
|
|
|
|
+ height: 2cm;
|
|
|
|
+ width: 100%;
|
|
|
|
+ top: 0px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ </style>
|
|
|
|
+
|
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
|
+ <div class="pagina">
|
|
|
|
+ <div class="row">
|
|
|
|
+ <div class="col-xs-4">
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="descripcion">
|
|
|
|
+ </div>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="descripcion1"><b><i>GAVILAN COMPANY</i></b></div>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="descripcion2"><b>de Prins Gavilán Mendez</b></div>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="descripcion11"></div>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="descripcion3"><b>Sistemas de promoción en medios digitales</b></div>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="descripcion4"><b>R.U.C. N°: 4525936-4</b></div>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="email"><b></b></div>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="ciudad"><b>Avda. Julio C. Riquelme Km.7 - Ciudad Nueva</b></div>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="tel"><b>Ciudad del Este - Paraguay</b></div>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <div class="rucdata"><b>Teléfono: (0984) 707 850</b></div>
|
|
|
|
+ </tr>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
- <div style="border:0.3px solid #000;"></div>
|
|
|
|
- <div class="divisoria"> </div>
|
|
|
|
- <div class="titulo" >
|
|
|
|
- <h3><strong>NOTA DE PRESUPUESTO N°: <span t-field="o.name"/></strong></h3>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <table class="table table-condensed table-bordered">
|
|
|
|
- <tr>
|
|
|
|
- <td class="fecha_emision_data"><b>Fecha: </b><span t-field="o.date_order" t-field-options='{"format": "dd MMMM yyyy"}'/></td>
|
|
|
|
- <!-- <td class="vendor"><b>Vendedor: </b><span t-field="o.user_id.name"/></td> -->
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="razon_data"><b>Cliente: </b><span t-field="o.partner_id.name"/></td>
|
|
|
|
- <td class="ruc_data"><b>R.U.C N°: </b><span t-field="o.partner_id.ruc"/></td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="direccion_data">
|
|
|
|
- <t t-f="o.partner_id.street"><b>Direccion: </b><span t-field="o.partner_id.street"/></t>
|
|
|
|
- <t t-f="not o.partner_id.street"> </t>
|
|
|
|
- </td>
|
|
|
|
- <td class="telefono_data"><b>Telefono: </b><span t-field="o.partner_id.phone"/></td>
|
|
|
|
- </tr>
|
|
|
|
- <!-- <tr>
|
|
|
|
- <td class="note"><b>Obra: </b><span t-field="o.note"/></td>
|
|
|
|
- </tr> -->
|
|
|
|
- </table>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <table class="table table-condensed table-bordered">
|
|
|
|
- <thead>
|
|
|
|
- <tr>
|
|
|
|
- <th class="text-center">Cantidad</th>
|
|
|
|
- <th class="text-center">Descripción</th>
|
|
|
|
- <th class="text-center">Prec. Unit.</th>
|
|
|
|
- <th class="text-center">Sub Total</th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody class="sale_tbody">
|
|
|
|
- <t t-set="valor_mat" t-value="0"/>
|
|
|
|
- <t t-set="valor_mo" t-value="0"/>
|
|
|
|
- <tr t-foreach="o.order_line" t-as="l">
|
|
|
|
- <td class="text-center">
|
|
|
|
- <span t-esc="'%.0f'%l.product_uom_qty"/>
|
|
|
|
- </td>
|
|
|
|
- <td>
|
|
|
|
- <span t-field="l.name"/>
|
|
|
|
- </td>
|
|
|
|
- <td class="text-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>
|
|
|
|
-
|
|
|
|
- <td class="text-right">
|
|
|
|
- <span t-if="o.currency_id.id == 166">
|
|
|
|
- <span t-esc= "'{0:,.0f}'.format(int(l.product_uom_qty * l.price_unit)).replace(',', '.')">
|
|
|
|
- <span t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/></span>
|
|
|
|
- <t t-set="valor_mat" t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/>
|
|
|
|
- </span>
|
|
|
|
-
|
|
|
|
- <span t-if="o.currency_id.id != 166">
|
|
|
|
- <span t-esc="'{0:,.2f}'.format(int(l.price_unit*l.product_uom_qty)).replace(',', '.')">
|
|
|
|
- <span t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/></span>
|
|
|
|
- <t t-set="valor_mat" t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/>
|
|
|
|
- </span>
|
|
|
|
- </td>
|
|
|
|
-
|
|
|
|
- </tr>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
-
|
|
|
|
- <!-- <div class="row">
|
|
|
|
- <div class="col-xs-12 pull-right">
|
|
|
|
- <table class="table table-condensed">
|
|
|
|
- <td class="art-col1"><b>Sub Totales: </b></td>
|
|
|
|
- <td class="art-col5"></td>
|
|
|
|
- <td class="art-col6">
|
|
|
|
- </td>
|
|
|
|
- <td class="art-col7">
|
|
|
|
- <span t-esc="'{0:,.0f}'.format(int(valor_mat)).replace(',', '.')"></span>
|
|
|
|
- </td>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <!-- <div class="col-xs-8">
|
|
|
|
+ <center>
|
|
|
|
+ <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 240px;max-width: 80px;"/>
|
|
|
|
+ </center>
|
|
</div> -->
|
|
</div> -->
|
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="row">
|
|
|
|
- <div class="col-xs-4 pull-right">
|
|
|
|
- <table class="table table-condensed">
|
|
|
|
- <!-- <tr class="border-black">
|
|
|
|
- <td><strong>Total s/ IVA</strong></td>
|
|
|
|
- <td class="text-right">
|
|
|
|
- <t t-if="o.currency_id.id == 166">
|
|
|
|
- <span t-esc="'{0:,.0f}'.format(o.amount_untaxed)"/>
|
|
|
|
- </t>
|
|
|
|
- <t t-if="o.currency_id.id != 166">
|
|
|
|
- <span t-esc="'{0:,.2f}'.format(o.amount_untaxed)"/>
|
|
|
|
- </t>
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td>IVA</td>
|
|
|
|
- <td class="text-right">
|
|
|
|
- <t t-if="o.currency_id.id == 166">
|
|
|
|
- <span t-esc="'{0:,.0f}'.format(o.amount_tax)"/>
|
|
|
|
- </t>
|
|
|
|
- <t t-if="o.currency_id.id != 166">
|
|
|
|
- <span t-esc="'{0:,.2f}'.format(o.amount_tax)"/>
|
|
|
|
- </t>
|
|
|
|
- </td>
|
|
|
|
- </tr> -->
|
|
|
|
- <tr class="border-black">
|
|
|
|
- <td><strong>Total</strong></td>
|
|
|
|
- <td class="text-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>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="note"><b>Obs.: </b><span t-field="o.note"/></div>
|
|
|
|
|
|
+
|
|
|
|
+ <div class="divisoria"> </div>
|
|
|
|
+
|
|
|
|
+ <h2>
|
|
|
|
+ <center>
|
|
|
|
+ <span>PRESUPUESTO N° </span>
|
|
|
|
+ <span t-field="o.name"/>
|
|
|
|
+ </center>
|
|
|
|
+ </h2>
|
|
|
|
+
|
|
|
|
+ <table class="table table-condensed table-bordered">
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="fecha_emision_data"><b>Fecha: </b><span t-field="o.date_order" t-field-options='{"format": "dd MMMM yyyy"}'/></td>
|
|
|
|
+ <td class="vendor"><b>Vendedor: </b><span t-field="o.user_id.name"/></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="razon_data"><b>Nombre o Razón Social: </b><span t-field="o.partner_id.name"/></td>
|
|
|
|
+ <td class="ruc_data"><b>R.U.C N°: </b><span t-field="o.partner_id.ruc"/></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="direccion_data"><b>Direccion: </b><span t-field="o.partner_id.street"/></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="telefono_data"><b>Telefono: </b><span t-field="o.partner_id.phone"/></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="note"><b>Por medio de la presente ponemos a su consideración el presente presupuesto.</b></td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+
|
|
|
|
+ <div class="divisoria"> </div>
|
|
|
|
+
|
|
|
|
+ <table>
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="art-col1">Cantidad</th>
|
|
|
|
+ <th class="art-col2">Descripción</th>
|
|
|
|
+ <th class="art-col3">Precio Unitario</th>
|
|
|
|
+ <th class="art-col4">Sub Total</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody class="sale_tbody">
|
|
|
|
+ <tr t-foreach="o.order_line" t-as="l">
|
|
|
|
+ <td class="art-col1">
|
|
|
|
+ <span t-esc="'%.0f'%l.product_uom_qty"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="art-col2">
|
|
|
|
+ <span t-field="l.name"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="art-col3">
|
|
|
|
+ <span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="art-col4">
|
|
|
|
+ <span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+
|
|
|
|
+ <div class="divisoria"> </div>
|
|
|
|
+ <div class="sub_total">
|
|
|
|
+ <strong>Sub Total: </strong> <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="logo1"> </div>
|
|
|
|
- </t>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="total_iva">
|
|
|
|
+ <strong>Total IVA: </strong> <span t-esc="'{0:,.0f}'.format(o.amount_tax)"/>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="total_total">
|
|
|
|
+ <strong>Total: </strong> <span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="total_pagar_data">En letras: <span t-esc="convertir(o.amount_total,o.currency_id.en_letras1)"/></div> -->
|
|
|
|
+
|
|
|
|
+ <div class="divisoria"> </div>
|
|
|
|
+
|
|
|
|
+ <p t-field="o.note"/>
|
|
|
|
+ <p t-if="o.payment_term.note">
|
|
|
|
+ <strong>Condición de Pago:</strong>
|
|
|
|
+ <span t-field="o.payment_term.note"/>
|
|
|
|
+ </p>
|
|
|
|
+ <p>
|
|
|
|
+ <strong>Plazo de Pago:</strong>
|
|
|
|
+ <span t-field="o.payment_term.note"/>
|
|
|
|
+ </p>
|
|
|
|
+ <p>
|
|
|
|
+ <strong>Garantia:</strong>
|
|
|
|
+ <span t-field="o.payment_term.note"/>
|
|
|
|
+ </p>
|
|
|
|
+
|
|
|
|
+ <div>
|
|
|
|
+ <center>
|
|
|
|
+ <strong>Validez del presente presupuesto 15 días</strong>
|
|
|
|
+ </center>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="divisoria"> </div>
|
|
|
|
+ <div>
|
|
|
|
+ <center>
|
|
|
|
+ <strong>GRACIAS POR CONFIAR EN NOSOTROS</strong>
|
|
|
|
+ </center>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </t>
|
|
|
|
+ </div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</template>
|
|
-
|
|
|
|
</data>
|
|
</data>
|
|
</openerp>
|
|
</openerp>
|