informe_cabventaxcli.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="report_cabgral2"
  5. model="cabventa.report"
  6. string="Listado de Gasto por cliente"
  7. report_type="qweb-pdf"
  8. name="report_analisiscabventa.report_cabventaxcliente"
  9. file="report_analisiscabventa.report_cabventaxcliente"
  10. />
  11. <template id="report_cabventaxcliente">
  12. <t t-call="report.html_container">
  13. <t t-call="report.internal_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 Gastos</h4>
  34. <div class="logo1" />
  35. <table class="table table-condensed">
  36. <thead class="crm_tcab">
  37. <tr class="active">
  38. <th>Proveedor</th>
  39. <th class="text-center">N° de Factura</th>
  40. <th class="text-center">Cantidad</th>
  41. <th class="text-center">Sub Total</th>
  42. <th class="text-center">Fecha</th>
  43. </tr>
  44. </thead>
  45. <t t-foreach="docs" t-as="o">
  46. <tbody>
  47. <tr>
  48. <td>
  49. <span t-field="o.partner_id.name"/>
  50. </td>
  51. <td class="text-left">
  52. <span t-esc="o.supplier_invoice_number"/>
  53. </td>
  54. <td class="text-center">
  55. <span t-field="o.product_qty"/>
  56. </td>
  57. <td class="text-right">
  58. <span t-field="o.amount_total"/>
  59. </td>
  60. <td class="text-left">
  61. <span t-field="o.date" t-field-options='{"widget": "date"}'/>
  62. </td>
  63. </tr>
  64. </tbody>
  65. </t>
  66. </table>
  67. </div>
  68. </t>
  69. </t>
  70. </template>
  71. </data>
  72. </openerp>