|
@@ -0,0 +1,81 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+<data>
|
|
|
+
|
|
|
+ <report id="informe_crm"
|
|
|
+ model="crm.lead"
|
|
|
+ string="Listado de Iniciativas de Clientes"
|
|
|
+ report_type="qweb-pdf"
|
|
|
+ name="informes_crm.report_crm2"
|
|
|
+ file="informes_crm.report_crm2"
|
|
|
+ />
|
|
|
+
|
|
|
+<template id="report_crm2">
|
|
|
+ <t t-call="report.html_container">
|
|
|
+ <t t-call="report.external_layout">
|
|
|
+ <div class="page">
|
|
|
+ <style type="text/css">
|
|
|
+
|
|
|
+ .crm_tcab{
|
|
|
+ font-size: 3mm;
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ }
|
|
|
+
|
|
|
+ .crm_tbody{
|
|
|
+ font-size: 2.8mm;
|
|
|
+ padding-left: 2cm;
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
+ }
|
|
|
+
|
|
|
+ .logo1{
|
|
|
+ width: 100%;
|
|
|
+ top: 1.5cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ </style>
|
|
|
+
|
|
|
+ <h4 class="text-center">Listado de Iniciativas de Clientes</h4>
|
|
|
+ <table class="table table-bordered" width="100%">
|
|
|
+ <thead class="crm_tcab">
|
|
|
+ <tr class="active">
|
|
|
+ <th class="text-center" width="10%">Fecha</th>
|
|
|
+ <th class="text-center" width="15%">Cliente</th>
|
|
|
+ <th class="text-center" width="15%">Contacto q llamo</th>
|
|
|
+ <th class="text-center" width="30%">Motivo de la Iniciativa</th>
|
|
|
+ <th class="text-center" width="20%">Usuario</th>
|
|
|
+ <th class="text-center" width="20%">Contacto</th>
|
|
|
+ <th class="text-center" width="8%">Prioridad</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
+ <tbody class="crm_tbody">
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.create_date" t-field-options='{"widget": "date"}'/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.partner_name"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.contact_name"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.name"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.user_id"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.phone"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-left">
|
|
|
+ <span t-field="o.priority"/>
|
|
|
+ </td>
|
|
|
+ </tbody>
|
|
|
+ </t>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </t>
|
|
|
+</template>
|
|
|
+</data>
|
|
|
+</openerp>
|