|
@@ -0,0 +1,45 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<openerp>
|
|
|
|
+ <data>
|
|
|
|
+ <report id="factory_reference_stock_listado"
|
|
|
|
+ model="stock.picking"
|
|
|
|
+ string="Listados de Transferencias"
|
|
|
|
+ report_type="qweb-pdf"
|
|
|
|
+ name="factory_reference_stock.report_listado_albaran_ref"
|
|
|
|
+ file="factory_reference_stock.report_listado_albaran_ref"/>
|
|
|
|
+
|
|
|
|
+ <template id="report_listado_albaran_ref">
|
|
|
|
+ <t t-call="report.html_container">
|
|
|
|
+ <t t-call="report.external_layout">
|
|
|
|
+ <div class="page">
|
|
|
|
+ <h2>Listado de transferencia de productos</h2>
|
|
|
|
+ <table class = "table table-condensed">
|
|
|
|
+ <thead>
|
|
|
|
+ <th>Fecha</th>
|
|
|
|
+ <th>Producto</th>
|
|
|
|
+ <th>Referencia</th>
|
|
|
|
+ <th>Cantidad</th>
|
|
|
|
+ <th>Origen</th>
|
|
|
|
+ <th>Destino</th>
|
|
|
|
+ <th>Estado</th>
|
|
|
|
+ </thead>
|
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
|
+ <t t-foreach="o.move_lines" t-as="move">
|
|
|
|
+ <tbody>
|
|
|
|
+ <td><span t-field="move.date"/></td>
|
|
|
|
+ <td><span t-field="move.product_id"/></td>
|
|
|
|
+ <td><span t-field="move.factory_ref"/></td>
|
|
|
|
+ <td><span t-field="move.product_qty"/></td>
|
|
|
|
+ <td><span t-field="move.location_id"/></td>
|
|
|
|
+ <td><span t-field="move.location_dest_id"/></td>
|
|
|
|
+ <td><span t-field="move.state"/></td>
|
|
|
|
+ </tbody>
|
|
|
|
+ </t>
|
|
|
|
+ </t>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </t>
|
|
|
|
+ </t>
|
|
|
|
+ </template>
|
|
|
|
+ </data>
|
|
|
|
+</openerp>
|