|
@@ -0,0 +1,90 @@
|
|
|
+<?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="informes_productos.report_productos1"
|
|
|
+ file="informes_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;
|
|
|
+ }
|
|
|
+
|
|
|
+ .pagina{
|
|
|
+ width:19.3cm;
|
|
|
+ padding-left: 2cm;
|
|
|
+ padding-right: 1cm;
|
|
|
+ height: 15cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .veh_tbody{
|
|
|
+ font-size: 2.8mm;
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ }
|
|
|
+ .taxtotal{
|
|
|
+ font-size: 2.8mm;
|
|
|
+ }
|
|
|
+ .logo1{
|
|
|
+ width: 100%;
|
|
|
+ top: 2.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 class="text-center">Codigo Ref.</th>
|
|
|
+ <th class="text-center">Cod Barra</th>
|
|
|
+ <th class="text-center">Descripcion</th>
|
|
|
+ <th class="text-center">Categoria</th>
|
|
|
+ <th class="text-center">Precio Costo</th>
|
|
|
+ <th class="text-center">Precio Venta</th>
|
|
|
+ <th class="text-center">Cantidad</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
+ <tbody class="veh_tbody">
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.default_code"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.ean13"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.name"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.categ_id.name"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-right">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(o.standard_price)"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-right">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(o.list_price)"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-right">
|
|
|
+ <span t-esc="'%.0f'%o.qty_available"/>
|
|
|
+ </td>
|
|
|
+ </tbody>
|
|
|
+ </t>
|
|
|
+
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </t>
|
|
|
+ </t>
|
|
|
+ </template>
|
|
|
+</data>
|
|
|
+</openerp>
|