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

ADD Catálogo de servicios y productos bioelectric

Sebas преди 6 години
ревизия
5ff25adf96
променени са 7 файла, в които са добавени 243 реда и са изтрити 0 реда
  1. 19 0
      __init__.py
  2. BIN
      __init__.pyc
  3. 41 0
      __openerp__.py
  4. 0 0
      catalogo_productos_bioelectric.py
  5. BIN
      catalogo_productos_bioelectric.pyc
  6. 183 0
      catalogo_productos_bioelectric.xml
  7. BIN
      static/description/icon.png

+ 19 - 0
__init__.py

@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import catalogo_productos_bioelectric

BIN
__init__.pyc


+ 41 - 0
__openerp__.py

@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+
+{
+    'name': 'Catálogo de Productos Bioeléctric',
+    'version': '1.1',
+    'category': 'Sale',
+    'sequence': 19,
+    'summary': 'Catálogo de Productos',
+    'description': """
+Catálogo de Productos
+==================================================
+
+Catálogo de Productos para Bioeléctric
+
+
+    """,
+    'author': 'Eiru/Sebastian Penayo',
+    'website': 'http://www.eiru.com.py',
+    'depends': ['base','sale'],
+    'data': [
+        'catalogo_productos_bioelectric.xml',
+    ],
+    'installable': True,
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

+ 0 - 0
catalogo_productos_bioelectric.py


BIN
catalogo_productos_bioelectric.pyc


+ 183 - 0
catalogo_productos_bioelectric.xml

@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data>
+        <report
+            id="action_catalogo_productos_bioelectric"
+            string="Catálogo de Productos Bio Electric"
+            model="product.template"
+            report_type="qweb-pdf"
+            name="catalogo_productos_bioelectric.catalogo_productos_biolectric"
+            file="catalogo_productos_bioelectric.catalogo_productos_biolectric"
+	    />
+    <template id="catalogo_productos_biolectric">
+        <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;
+                    }
+                    .logo{
+                        width: 1cm;
+                        text-align: center;
+                        width: 100%;
+                    }
+                    .descripcion1{
+                        width: 11.2cm;
+                        font-size: 13px;
+                        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;
+                    }
+                    .table-condensed>tbody>tr>td {
+                        padding: 1px !important;
+                    }
+                    .divisoria{
+                        height: 0.5cm;
+                        clear: both;
+                    }
+                    .titulo{
+                        width: 19.2cm;
+                        text-align: center;
+                        width: 100%;
+                        min-height: 0.6cm;
+                    }
+
+                    .cab-articulos{
+                        height: 0.4cm;
+                        clear: both;
+                    }
+                    .articulos{
+                        height: 17.5cm;
+                    }
+                    .art-col1{
+                        width:2cm;
+                        text-align: center;
+                    }
+                    .art-col2{
+                        padding-left: 0.3cm;
+                        width:13cm;
+                    }
+                    .art-col3{
+                        width:3cm;
+                        text-align: right;
+                    }
+
+                </style>
+
+                   <div class="pagina">
+                       <div class="logo"> </div>
+                       <div style="padding-left:1.5cm;">
+                       <table class="table table-condensed table-bordered">
+
+                           <thead>
+                               <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="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>CATÁLOGO DE SERVICIOS Y PRODUCTOS</strong></h3>
+                           </div>
+                           <div class="divisoria"> </div>
+
+                        <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>
+                               </tr>
+                            </thead>
+                            <t t-foreach="docs" t-as="o">
+                                <tbody class="sale_tbody">
+                                    <td class="text-center">
+                                          <span t-field="o.id"/>
+                                    </td>
+                                    <td class="text-left">
+                                          <span t-field="o.name"/>
+                                    </td>
+                                    <td class="text-right">
+                                          <span t-field="o.list_price"/>
+                                    </td>
+                               </tbody>
+                            </t>
+                       </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>
+   </template>
+</data>
+</openerp>

BIN
static/description/icon.png