소스 검색

Agregar en catalogo de productos de bioelectric referencia interna y marca

Sebas 6 년 전
부모
커밋
54b55a801a
2개의 변경된 파일29개의 추가작업 그리고 19개의 파일을 삭제
  1. BIN
      __init__.pyc
  2. 29 19
      catalogo_productos_bioelectric.xml

BIN
__init__.pyc


+ 29 - 19
catalogo_productos_bioelectric.xml

@@ -11,7 +11,6 @@
 	    />
     <template id="catalogo_productos_biolectric">
         <t t-call="report.html_container">
-
             <div class="page">
                 <style type="text/css">
                     body{
@@ -28,6 +27,7 @@
                         width: 1cm;
                         text-align: center;
                         width: 100%;
+                        top: 0px;
                     }
                     .descripcion1{
                         width: 11.2cm;
@@ -45,13 +45,13 @@
                     }
 
                     .descripcion3{
-                        width: 15cm;
+                        width: 18cm;
                         font-size: 10px;
                         float: left;
                         min-height: 0cm;
                     }
                     .descripcion4{
-                        width: 15cm;
+                        width: 18cm;
                         font-size: 10px;
                         float: left;
                         min-height: 0cm;
@@ -65,13 +65,13 @@
                     }
 
                     .ciudad{
-                        width: 13cm;
+                        width: 18cm;
                         float: left;
                         font-size: 10px;
                         min-height: 0cm;
                     }
                     .tel{
-                        width: 13cm;
+                        width: 18cm;
                         float: left;
                         font-size: 10px;
                         min-height: 0cm;
@@ -86,26 +86,31 @@
                     .titulo{
                         width: 19.2cm;
                         text-align: center;
-                        width: 100%;
                         min-height: 0.6cm;
                     }
 
                     .cab-articulos{
                         height: 0.4cm;
+                        width: 100%;
                         clear: both;
                     }
                     .articulos{
-                        height: 17.5cm;
+                        height: 20.5cm;
+                        width: 100%;
                     }
                     .art-col1{
-                        width:2cm;
+                        width:1.3cm;
                         text-align: center;
                     }
                     .art-col2{
                         padding-left: 0.3cm;
-                        width:13cm;
+                        width:20cm;
                     }
                     .art-col3{
+                        padding-left: 0.3cm;
+                        width:3.3cm;
+                    }
+                    .art-col4{
                         width:3cm;
                         text-align: right;
                     }
@@ -114,8 +119,8 @@
 
                    <div class="pagina">
                        <div class="logo"> </div>
-                       <div style="padding-left:1.5cm;">
-                       <table class="table table-condensed table-bordered">
+                       <div style="padding-left:1.5cm;padding-right:0.5cm;">
+                        <table class="table table-condensed table-bordered">
 
                            <thead>
                                <tr>
@@ -153,20 +158,24 @@
                         <table class="table table-condensed table-bordered">
                             <thead>
                                <tr>
-                                   <th class="text-center">Código</th>
-                                   <th class="text-center">Descripción del producto/servicio</th>
-                                   <th class="text-center">Prec. Venta</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:20cm;overflow: auto; text-align: center;">Descripción del producto/servicio</th>
+                                    <th style="font-size:10px;font-family: Arial;width:3,3cm;overflow: auto; text-align: center;">Marca</th>
+                                    <th style="font-size:10px;font-family: Arial;width:3cm;overflow: auto; text-align: center;">Prec. Venta</th>
                                </tr>
                             </thead>
                             <t t-foreach="docs" t-as="o">
                                 <tbody class="sale_tbody">
-                                    <td class="text-center">
-                                          <span t-field="o.id"/>
+                                    <td class="art-col1">
+                                          <span t-field="o.default_code"/>
                                     </td>
-                                    <td class="text-left">
+                                    <td class="art-col2">
                                           <span t-field="o.name"/>
                                     </td>
-                                    <td class="text-right">
+                                    <td class="art-col3">
+                                          <span t-field="o.product_brand_id"/>
+                                    </td>
+                                    <td class="art-col4">
                                           <span t-field="o.list_price"/>
                                     </td>
                                </tbody>
@@ -174,10 +183,11 @@
                        </table>
 
                        <th class="text-left">Fecha y hora del listado: </th><span t-esc="context_timestamp(datetime.datetime.now()).strftime('%d-%m-%Y %H:%M')"/>
+
                      </div>
                 </div>
            </div>
-       </t>
+        </t>
    </template>
 </data>
 </openerp>