Преглед на файлове

ADD FIX Impresión de presupuesto modelo bio electric

Sebas преди 6 години
родител
ревизия
af888749d0
променени са 1 файла, в които са добавени 36 реда и са изтрити 27 реда
  1. 36 27
      presupuesto_venta_bioelectric.xml

+ 36 - 27
presupuesto_venta_bioelectric.xml

@@ -12,8 +12,7 @@
 
     <template id="report_presupuesto_bioelectric">
         <t t-call="report.html_container">
-            <!-- <t t-call="report.external_layout"> -->
-			    <t t-foreach="[1,2]" t-as="i">
+
                 <div class="page">
                     <style type="text/css">
                         body{
@@ -80,6 +79,12 @@
                             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;
@@ -172,31 +177,37 @@
                             <table class="table table-condensed table-bordered">
 
                                 <thead>
-                                <tr>
-                                    <div class="descripcion1"><b><i>BIO ELECTRIC</i></b></div>
-                                </tr>
+                                    <tr>
+                                        <div class="descripcion1"><b><i>BIO ELECTRIC</i></b></div>
+                                    </tr>
 
-                                <tr>
-                                    <div class="descripcion2"><b>SOLUCIONES ELECTROMECÁNICAS</b></div>
-                                </tr>
-                                <tr>
-                                    <div class="descripcion3"><b>SERVICIOS ELÉCTRICOS 24 hs. - MONTAJES INDUSTRIALES</b></div>
-                                </tr>
+                                    <tr>
+                                        <div class="descripcion2"><b>SOLUCIONES ELECTROMECÁNICAS</b></div>
+                                    </tr>
+                                    <tr>
+                                        <div class="descripcion3"><b>SERVICIOS ELÉCTRICOS 24 hs. - MONTAJES INDUSTRIALES</b></div>
+                                    </tr>
+
+                                    <tr>
+                                        <div class="descripcion4"><b>AUTOMATIZACIONES - REFRIGERACIÓN, CCTV, SPLIT</b></div>
+                                    </tr>
+                                    <tr>
+                                        <div class="email"><b>bioelectricpy@gmail.com - R.U.C. N°: 4474131-6</b></div>
+                                    </tr>
+                                    <tr>
+                                        <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
+                                    </tr>
+                                    <tr>
+                                        <div class="tel"><b>(021) 951827 - (0981) 939132 - (0984) 120678</b></div>
+                                    </tr>
 
-                                <tr>
-                                    <div class="descripcion4"><b>AUTOMATIZACIONES - REFRIGERACIÓN, CCTV, SPLIT</b></div>
-                                </tr>
-                                <tr>
-                                    <div class="email"><b>bioelectricpy@gmail.com - R.U.C. N°: 4474131-6</b></div>
-                                </tr>
-                                <tr>
-                                    <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
-                                </tr>
-                                <tr>
-                                    <div class="tel"><b>(021) 951827 - (0981) 939132 - (0984) 120678</b></div>
-                                </tr>
                                 </thead>
                             </table>
+                            <div class="divisoria"> </div>
+                                <div class="titulo" >
+                                    <h3><strong>NOTA DE PRESUPUESTO N°: <span t-field="o.name"/></strong></h3>
+                                    <h3><strong>R.U.C. N°: 4474131-6</strong></h3>
+                                </div>
 
 
                                 <table class="table table-condensed table-bordered">
@@ -251,7 +262,7 @@
                                         </td>
 
                                         <td class="text-right">
-                                            <t t-if="o.product_id.type == 'product'">
+                                            <t t-if="l.product_id.type == 'product'">
                                                 <t t-if="o.currency_id.id == 166">
                                                     <span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
                                                 </t>
@@ -261,7 +272,7 @@
                                             </t>
                                         </td>
                                         <td class="text-right">
-                                            <t t-if="o.product_id.type == 'service'">
+                                            <t t-if="l.product_id.type == 'service'">
                                                 <t t-if="o.currency_id.id == 166">
                                                     <span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
                                                 </t>
@@ -327,8 +338,6 @@
                        <div class="logo1"> </div>
                     </t>
                 </div>
-				</t>
-            <!-- </t> -->
         </t>
     </template>