informe_facturagolden_por_fecha.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="report_facturagolden3"
  5. model="facturagolden.report"
  6. string="Listado de Factura de Ventas"
  7. report_type="qweb-pdf"
  8. name="report_facturagolden.informe_facturagolden_por_fecha"
  9. file="report_facturagolden.informe_facturagolden_por_fecha"
  10. />
  11. <template id="informe_facturagolden_por_fecha">
  12. <t t-call="report.html_container">
  13. <t t-call="report.external_layout">
  14. <div class="page">
  15. <style type="text/css">
  16. .crm_tcab{
  17. font-size: 3mm;
  18. font-family: Arial, Helvetica, sans-serif;
  19. }
  20. .crm_tbody{
  21. font-size: 2.8mm;
  22. font-family: Arial, Helvetica, sans-serif;
  23. }
  24. .logo1{
  25. width: 100%;
  26. top: 1.5cm;
  27. }
  28. .total1{
  29. font-size: 2.8mm;
  30. font-family: Arial, Helvetica, sans-serif;
  31. }
  32. </style>
  33. <h4 class="text-center">Listado de Factura de Ventas</h4>
  34. <div class="logo1" />
  35. <table class="table table-condensed">
  36. <thead class="crm_tcab">
  37. <tr class="active">
  38. <th>Fecha</th>
  39. <th class="text-center">Cliente</th>
  40. <th class="text-center">Nro</th>
  41. <th class="text-center">Producto</th>
  42. <th class="text-center">Cant.</th>
  43. <th class="text-right">Sub Total</th>
  44. </tr>
  45. </thead>
  46. <t t-foreach="docs" t-as="o">
  47. <tbody>
  48. <tr>
  49. <td>
  50. <span t-field="o.date" t-field-options='{"widget": "date"}'/>
  51. </td>
  52. <td class="text-left">
  53. <span t-esc="o.partner_id.name"/>
  54. </td>
  55. <td class="text-left">
  56. <span t-esc="o.origin"/>
  57. </td>
  58. <td class="text-left">
  59. <span t-esc="o.product_id.name"/>
  60. </td>
  61. <td class="text-center">
  62. <span t-field="o.product_qty" sum="# of Qty"/>
  63. </td>
  64. <td class="text-right">
  65. <span t-field="o.price_total"/>
  66. </td>
  67. </tr>
  68. </tbody>
  69. </t>
  70. </table>
  71. </div>
  72. </t>
  73. </t>
  74. </template>
  75. </data>
  76. </openerp>