informe_crm.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="informe_crm"
  5. model="crm.lead"
  6. string="Listado de Iniciativas de Clientes"
  7. report_type="qweb-pdf"
  8. name="informes_crm.report_crm2"
  9. file="informes_crm.report_crm2"
  10. />
  11. <template id="report_crm2">
  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. padding-left: 2cm;
  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 Iniciativas de Clientes</h4>
  31. <table class="table table-bordered" width="100%">
  32. <thead class="crm_tcab">
  33. <tr class="active">
  34. <th class="text-center" width="10%">Fecha</th>
  35. <th class="text-center" width="15%">Cliente</th>
  36. <th class="text-center" width="15%">Contacto q llamo</th>
  37. <th class="text-center" width="30%">Motivo de la Iniciativa</th>
  38. <th class="text-center" width="20%">Usuario</th>
  39. <th class="text-center" width="20%">Contacto</th>
  40. <th class="text-center" width="8%">Prioridad</th>
  41. </tr>
  42. </thead>
  43. <t t-foreach="docs" t-as="o">
  44. <tbody class="crm_tbody">
  45. <td class="text-left">
  46. <span t-field="o.create_date" t-field-options='{"widget": "date"}'/>
  47. </td>
  48. <td class="text-left">
  49. <span t-field="o.partner_name"/>
  50. </td>
  51. <td class="text-left">
  52. <span t-field="o.contact_name"/>
  53. </td>
  54. <td class="text-left">
  55. <span t-field="o.name"/>
  56. </td>
  57. <td class="text-left">
  58. <span t-field="o.user_id"/>
  59. </td>
  60. <td class="text-left">
  61. <span t-field="o.phone"/>
  62. </td>
  63. <td class="text-left">
  64. <span t-field="o.priority"/>
  65. </td>
  66. </tbody>
  67. </t>
  68. </table>
  69. </div>
  70. </t>
  71. </t>
  72. </template>
  73. </data>
  74. </openerp>