informe_crm_ganado.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report
  5. id="report_crm_ganado"
  6. string="Listado de Ganados"
  7. model="crm.lead"
  8. report_type="qweb-pdf"
  9. file="informes_crm_ganado.report_ganado1"
  10. name="informes_crm_ganado.report_ganado1"
  11. />
  12. <template id="report_ganado1">
  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. .crmc_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. <h4 class="text-center">Listado de Ganados</h4>
  31. <div class="logo1"> </div>
  32. <table class="table table-bordered">
  33. <thead class="crm_tcab">
  34. <tr>
  35. <th class="text-center">Fecha y Hora</th>
  36. <th class="text-center">Cliente</th>
  37. <th class="text-center">Encargado</th>
  38. <th class="text-center">Estado</th>
  39. <th class="text-center">Fecha y Hora Cambio de Estado</th>
  40. </tr>
  41. </thead>
  42. <t t-foreach="docs" t-as="o">
  43. <tbody class="crmc_tbody">
  44. <td class="text-left">
  45. <span t-field="o.create_date"/>
  46. </td>
  47. <td class="text-left">
  48. <span t-field="o.partner_id"/>
  49. </td>
  50. <td class="text-left">
  51. <span t-field="o.user_id"/>
  52. </td>
  53. <td class="text-left">
  54. <span t-field="o.stage_id"/>
  55. </td>
  56. <td class="text-left">
  57. <span t-field="o.date_last_stage_update"/>
  58. </td>
  59. </tbody>
  60. </t>
  61. </table>
  62. </div>
  63. </t>
  64. </t>
  65. </template>
  66. </data>
  67. </openerp>