|
@@ -0,0 +1,186 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+<data>
|
|
|
+ <report
|
|
|
+ id="action_catalogo_productos_profesional"
|
|
|
+ string="Catálogo de Productos Ferretería Profesional"
|
|
|
+ model="product.template"
|
|
|
+ report_type="qweb-pdf"
|
|
|
+ name="catalogo_productos_profesional.catalogo_productos_profesional"
|
|
|
+ file="catalogo_productos_profesional.catalogo_productos_profesional"
|
|
|
+ />
|
|
|
+ <template id="catalogo_productos_profesional">
|
|
|
+ <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%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+ .descripcion1{
|
|
|
+ width: 11.2cm;
|
|
|
+ font-size: 13px;
|
|
|
+ padding-top: 0.2cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .email{
|
|
|
+ width: 13cm;
|
|
|
+ font-size: 10px;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ciudad{
|
|
|
+ width: 18cm;
|
|
|
+ float: left;
|
|
|
+ font-size: 10px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .tel{
|
|
|
+ width: 18cm;
|
|
|
+ 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;
|
|
|
+ min-height: 0.6cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .cab-articulos{
|
|
|
+ height: 0.4cm;
|
|
|
+ width: 100%;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+ .articulos{
|
|
|
+ height: 20.5cm;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .art-col1{
|
|
|
+ width:1.3cm;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .art-col2{
|
|
|
+ width:1.3cm;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .art-col3{
|
|
|
+ width:1.3cm;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .art-col4{
|
|
|
+ padding-left: 0.3cm;
|
|
|
+ width:20cm;
|
|
|
+ }
|
|
|
+ .art-col5{
|
|
|
+ padding-left: 0.3cm;
|
|
|
+ text-align: left;
|
|
|
+ width:3.3cm;
|
|
|
+ }
|
|
|
+ .art-col6{
|
|
|
+ width:3cm;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+
|
|
|
+ </style>
|
|
|
+
|
|
|
+ <div class="pagina">
|
|
|
+ <div class="logo"> </div>
|
|
|
+ <div style="padding-left:1.5cm;padding-right:0.5cm;">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-xs-4">
|
|
|
+ <tr>
|
|
|
+ <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>
|
|
|
+ <tr>
|
|
|
+ <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="tel"><b>(0981) 939132 - (0983) 541504</b></div>
|
|
|
+ </tr>
|
|
|
+ </div>
|
|
|
+ <div class="col-xs-8">
|
|
|
+ <img class="img-responsive"
|
|
|
+ t-att-src="'data:image/png;base64,%s' % res_company.logo"
|
|
|
+ style="background-color: #fff;max-height: 250px;max-width: 200px;margin-bottom: 8px; margin-left: 4cm;"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <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 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>
|
|
|
+ <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="art-col1">
|
|
|
+ <span t-field="o.image_small" t-field-options='{"widget": "image"}'/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col2">
|
|
|
+ <span t-field="o.default_code"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col3">
|
|
|
+ <span t-field="o.uom_id"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col4">
|
|
|
+ <span t-field="o.name"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col5">
|
|
|
+ <span t-field="o.product_brand_id"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col6">
|
|
|
+ <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>
|