|
@@ -0,0 +1,122 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+<data>
|
|
|
+ <report
|
|
|
+ id="action_report_productos"
|
|
|
+ string="Listado General de Productos"
|
|
|
+ model="product.template"
|
|
|
+ report_type="qweb-pdf"
|
|
|
+ name="informe_productos.report_productos1"
|
|
|
+ file="informe_productos.report_productos1"
|
|
|
+ />
|
|
|
+ <template id="report_productos1">
|
|
|
+ <t t-call="report.html_container">
|
|
|
+ <t t-call="report.external_layout">
|
|
|
+ <div class="page">
|
|
|
+ <style type="text/css">
|
|
|
+ .crm_tcab{
|
|
|
+ font-size: 3mm;
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ }
|
|
|
+
|
|
|
+ .veh_tbody{
|
|
|
+ font-size: 2.8mm;
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ }
|
|
|
+ .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{
|
|
|
+ width:1.3cm;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .art-col5{
|
|
|
+ padding-left: 0.3cm;
|
|
|
+ text-align: left;
|
|
|
+ width:20cm;
|
|
|
+ }
|
|
|
+ .art-col6{
|
|
|
+ padding-left: 0.3cm;
|
|
|
+ text-align: right;
|
|
|
+ width:3.3cm;
|
|
|
+ }
|
|
|
+ .art-col7{
|
|
|
+ width:3cm;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+ .taxtotal{
|
|
|
+ font-size: 2.8mm;
|
|
|
+ }
|
|
|
+ .logo1{
|
|
|
+ width: 100%;
|
|
|
+ top: 0.5cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ </style>
|
|
|
+ <h4 class="text-center">Listado de Productos</h4>
|
|
|
+ <div class="logo1"> </div>
|
|
|
+ <table class="table table-bordered">
|
|
|
+ <thead class="crm_tcab">
|
|
|
+ <tr class="active">
|
|
|
+ <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;">Codigo Ref.</th>
|
|
|
+ <th style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">Cod Barra</th>
|
|
|
+ <th style="font-size:10px;font-family: Arial;width:20cm;overflow: auto; text-align: center;">Descripcion</th>
|
|
|
+ <th style="font-size:10px;font-family: Arial;width:3.3cm;overflow: auto; text-align: center;">Categoria</th>
|
|
|
+ <th style="font-size:10px;font-family: Arial;width:3cm;overflow: auto; text-align: center;">Precio Costo</th>
|
|
|
+ <th style="font-size:10px;font-family: Arial;width:2.8cm;overflow: auto; text-align: center;">Precio Venta</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
+ <tbody class="veh_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.ean13"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col4">
|
|
|
+ <span t-field="o.name"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col5">
|
|
|
+ <span t-field="o.categ_id.name"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col6">
|
|
|
+ <span t-field="o.standard_price"/>
|
|
|
+ </td>
|
|
|
+ <td class="art-col7">
|
|
|
+ <span t-field="o.list_price"/>
|
|
|
+ </td>
|
|
|
+ <!-- <td class="text-right">
|
|
|
+ <span t-field="o.qty_available"/>
|
|
|
+ </td> -->
|
|
|
+ </tbody>
|
|
|
+ </t>
|
|
|
+<!-- <tr> -->
|
|
|
+<!-- <td colspan="7"></td>
|
|
|
+ </tr>
|
|
|
+ <tr class="border-black">
|
|
|
+ <td colspan="2">Total:</td>
|
|
|
+ <td class="text-right">
|
|
|
+ <t t-set="taxtotal" t-value="sum([x.qty_available for x in docs])"/>
|
|
|
+ </td>
|
|
|
+ </tr> -->
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </t>
|
|
|
+ </template>
|
|
|
+</data>
|
|
|
+</openerp>
|