informe_stock_move.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report
  5. string="Listado de Movimiento de Stock"
  6. id="report_move_id"
  7. model="stock.move"
  8. report_type="qweb-pdf"
  9. name="informes_stock_move.report_move1"
  10. file="informes_stock_move.report_move1"
  11. />
  12. <template id="report_move1">
  13. <t t-call="report.html_container">
  14. <t t-call="report.external_layout">
  15. <div class="page">
  16. <style type="text/css">
  17. .crm_tcab{
  18. font-size: 3mm;
  19. font-family: Arial, Helvetica, sans-serif;
  20. }
  21. .crm_tbody{
  22. font-size: 2.8mm;
  23. font-family: Arial, Helvetica, sans-serif;
  24. }
  25. .logo1{
  26. width: 100%;
  27. top: 1.5cm;
  28. }
  29. </style>
  30. <h2 class="text-center">Listado de Movimiento de Stock</h2>
  31. <div class="logo1"> </div>
  32. <table class="table table-bordered">
  33. <thead class="crm_tcab">
  34. <tr class="active">
  35. <th class="text-center">Referencia</th>
  36. <th class="text-center">Doc.Origen</th>
  37. <th class="text-center">Cód.Prod.</th>
  38. <th class="text-center">Producto</th>
  39. <th class="text-center">Albarán</th>
  40. <th class="text-right">Cantidad</th>
  41. <th class="text-center">Ubic.Origen</th>
  42. <th class="text-center">Ubic.Destino</th>
  43. <th class="text-center">Estado</th>
  44. </tr>
  45. </thead>
  46. <t t-foreach="docs" t-as="o">
  47. <tbody class="crm_tbody">
  48. <td class="text-left">
  49. <span t-field="o.name"/>
  50. </td>
  51. <td class="text-left">
  52. <span t-field="o.origin"/>
  53. </td>
  54. <td class="text-left">
  55. <span t-field="o.product_id"/>
  56. </td>
  57. <td class="text-left">
  58. <span t-field="o.product_id.name"/>
  59. </td>
  60. <td class="text-left">
  61. <span t-field="o.picking_type_id"/>
  62. </td>
  63. <td class="text-right">
  64. <span t-field="o.product_uom_qty"/>
  65. </td>
  66. <td class="text-left">
  67. <span t-field="o.location_id"/>
  68. </td>
  69. <td class="text-left">
  70. <span t-field="o.location_dest_id"/>
  71. </td>
  72. <td class="text-left">
  73. <span t-field="o.state"/>
  74. </td>
  75. </tbody>
  76. </t>
  77. </table>
  78. </div>
  79. </t>
  80. </t>
  81. </template>
  82. </data>
  83. </openerp>