Browse Source

Colocar columna secuencia de ventas en catálogo de productos.

sebas 4 years ago
parent
commit
cecedfc8f5
1 changed files with 12 additions and 7 deletions
  1. 12 7
      catalogo_productos_profesional.xml

+ 12 - 7
catalogo_productos_profesional.xml

@@ -116,7 +116,7 @@
                                    <div class="descripcion1"><b><i>FERRETERIA PROFESIONAL</i></b></div>
                                </tr>
 
-  
+
                                <tr>
                                    <div class="email"><b>ferreteriaprofesional@gmail.com - R.U.C. N°: 5847352-1</b></div>
                                </tr>
@@ -138,10 +138,11 @@
                                <h3><strong>CATÁLOGO DE SERVICIOS Y PRODUCTOS</strong></h3>
                            </div>
                            <div class="divisoria"> </div>
-
+                        <t t-set="i" t-value="1" />
                         <table class="table table-condensed table-bordered">
                             <thead>
                                <tr>
+                                    <th style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">Orden</th>
                                     <th style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">Imagen</th>
                                     <th style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">Referencia</th>
                                     <th style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">Medida</th>
@@ -153,21 +154,25 @@
                             <t t-foreach="docs" t-as="o">
                                 <tbody class="sale_tbody">
                                     <td class="art-col1">
-                                          <span t-field="o.image_small" t-field-options='{"widget": "image"}'/>
+                                        <span t-esc="i"/>
+                                        <t t-set="i" t-value="i+1"/>
                                     </td>
                                     <td class="art-col2">
-                                          <span t-field="o.default_code"/>
+                                          <span t-field="o.image_small" t-field-options='{"widget": "image"}'/>
                                     </td>
                                     <td class="art-col3">
-                                          <span t-field="o.uom_id"/>
+                                          <span t-field="o.default_code"/>
                                     </td>
                                     <td class="art-col4">
-                                          <span t-field="o.name"/>
+                                          <span t-field="o.uom_id"/>
                                     </td>
                                     <td class="art-col5">
-                                          <span t-field="o.product_brand_id"/>
+                                          <span t-field="o.name"/>
                                     </td>
                                     <td class="art-col6">
+                                          <span t-field="o.product_brand_id"/>
+                                    </td>
+                                    <td class="art-col7">
                                           <span t-field="o.list_price"/>
                                     </td>
                                </tbody>