factory_ref_stock_info.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="factory_reference_stock_listado"
  5. model="stock.picking"
  6. string="Listados de Transferencias"
  7. report_type="qweb-pdf"
  8. name="factory_reference_stock.report_listado_albaran_ref"
  9. file="factory_reference_stock.report_listado_albaran_ref"/>
  10. <template id="report_listado_albaran_ref">
  11. <t t-call="report.html_container">
  12. <t t-call="report.external_layout">
  13. <div class="page">
  14. <h2>Listado de transferencia de productos</h2>
  15. <table class = "table table-condensed">
  16. <thead>
  17. <th>Fecha</th>
  18. <th>Producto</th>
  19. <th>Referencia</th>
  20. <th>Cantidad</th>
  21. <th>Origen</th>
  22. <th>Destino</th>
  23. <th>Estado</th>
  24. </thead>
  25. <t t-foreach="docs" t-as="o">
  26. <t t-foreach="o.move_lines" t-as="move">
  27. <tbody>
  28. <td><span t-field="move.date"/></td>
  29. <td><span t-field="move.product_id"/></td>
  30. <td><span t-field="move.factory_ref"/></td>
  31. <td><span t-field="move.product_qty"/></td>
  32. <td><span t-field="move.location_id"/></td>
  33. <td><span t-field="move.location_dest_id"/></td>
  34. <td><span t-field="move.state"/></td>
  35. </tbody>
  36. </t>
  37. </t>
  38. </table>
  39. </div>
  40. </t>
  41. </t>
  42. </template>
  43. </data>
  44. </openerp>