informe_crm_lead.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report
  5. id="report_crm_lead"
  6. string="Listado de Oportunidades de Ventas"
  7. model="crm.lead"
  8. report_type="qweb-pdf"
  9. file="informes_crm_lead.report_lead"
  10. name="informes_crm_lead.report_lead"
  11. />
  12. <template id="report_lead">
  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 Oportunidades de Ventas</h4>
  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">Fecha y Hora</th>
  36. <th class="text-center">Descripción</th>
  37. <th class="text-center">Cliente</th>
  38. <th class="text-center">Teléfono</th>
  39. <th class="text-center">Encargado</th>
  40. <th class="text-center">Ingr.Estimado</th>
  41. <th class="text-center">Acción Sgte.</th>
  42. <th class="text-center">Estado</th>
  43. <th class="text-center">Fecha y Hora Cambio de Estado</th>
  44. </tr>
  45. </thead>
  46. <t t-foreach="docs" t-as="o">
  47. <tbody class="crmc_tbody">
  48. <td class="text-left">
  49. <span t-field="o.create_date"/>
  50. </td>
  51. <td class="text-left">
  52. <span t-field="o.name"/>
  53. </td>
  54. <td class="text-left">
  55. <span t-field="o.partner_id"/>
  56. </td>
  57. <td class="text-left">
  58. <span t-field="o.phone"/>
  59. </td>
  60. <td class="text-left">
  61. <span t-field="o.user_id"/>
  62. </td>
  63. <td class="text-right">
  64. <span t-field="o.planned_revenue"/>
  65. </td>
  66. <td class="text-left">
  67. <span t-field="o.title_action"/>
  68. </td>
  69. <td class="text-left">
  70. <span t-field="o.stage_id"/>
  71. </td>
  72. <td class="text-left">
  73. <span t-field="o.date_last_stage_update"/>
  74. </td>
  75. </tbody>
  76. </t>
  77. </table>
  78. </div>
  79. </t>
  80. </t>
  81. </template>
  82. </data>
  83. </openerp>