informe_crm_mensaje.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report
  5. id="report_crm_mensaje"
  6. string="Listado de Mensajes de Clientes"
  7. model="crm.mensaje"
  8. report_type="qweb-pdf"
  9. file="crm_mensaje.report_mensaje"
  10. name="crm_mensaje.report_mensaje"
  11. />
  12. <template id="report_mensaje">
  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. .taxtotal{
  26. font-size: 2.8mm;
  27. }
  28. .total{
  29. font-size: 2.8mm;
  30. }
  31. .untotal{
  32. font-size: 2.8mm;
  33. }
  34. .logo1{
  35. width: 100%;
  36. top: 1.5cm;
  37. }
  38. </style>
  39. <h4 class="text-center">Listado de Mensajes de Clientes</h4>
  40. <div class="logo1"> </div>
  41. <table class="table table-bordered">
  42. <thead class="crm_tcab">
  43. <tr class="active">
  44. <th class="text-left">Fecha y Hora</th>
  45. <th class="text-left">Cliente</th>
  46. <th class="text-left">Movil1</th>
  47. <th class="text-left">Movil2</th>
  48. <th class="text-left">Descripcion</th>
  49. <th class="text-left">Prox.Accion</th>
  50. <th class="text-left">Estado</th>
  51. </tr>
  52. </thead>
  53. <t t-foreach="docs" t-as="o">
  54. <tbody class="crmc_tbody">
  55. <td class="text-left">
  56. <span t-field="o.create_date"/>
  57. </td>
  58. <td class="text-left">
  59. <span t-field="o.partner_id"/>
  60. </td>
  61. <td class="text-left">
  62. <span t-field="o.partner_phone"/>
  63. </td>
  64. <td class="text-left">
  65. <span t-field="o.partner_mobile"/>
  66. </td>
  67. <td class="text-left">
  68. <span t-field="o.description"/>
  69. </td>
  70. <td class="text-left">
  71. <span t-field="o.action_next"/>
  72. </td>
  73. <td class="text-left">
  74. <span t-field="o.state"/>
  75. </td>
  76. </tbody>
  77. </t>
  78. </table>
  79. </div>
  80. </t>
  81. </t>
  82. </template>
  83. </data>
  84. </openerp>