|
@@ -0,0 +1,87 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<openerp>
|
|
|
|
+<data>
|
|
|
|
+ <report
|
|
|
|
+ id="report_crm_lead"
|
|
|
|
+ string="Listado de Oportunidades de Ventas"
|
|
|
|
+ model="crm.lead"
|
|
|
|
+ report_type="qweb-pdf"
|
|
|
|
+ file="informes_crm_lead.report_lead"
|
|
|
|
+ name="informes_crm_lead.report_lead"
|
|
|
|
+ />
|
|
|
|
+ <template id="report_lead">
|
|
|
|
+ <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;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .crmc_tbody{
|
|
|
|
+ font-size: 2.8mm;
|
|
|
|
+ font-family: Arial, Helvetica, sans-serif;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .logo1{
|
|
|
|
+ width: 100%;
|
|
|
|
+ top: 1.5cm;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ </style>
|
|
|
|
+ <h4 class="text-center">Listado de Oportunidades de Ventas</h4>
|
|
|
|
+ <div class="logo1"> </div>
|
|
|
|
+ <table class="table table-bordered">
|
|
|
|
+ <thead class="crm_tcab">
|
|
|
|
+ <tr class="active">
|
|
|
|
+ <th class="text-center">Fecha y Hora</th>
|
|
|
|
+ <th class="text-center">Descripción</th>
|
|
|
|
+ <th class="text-center">Cliente</th>
|
|
|
|
+ <th class="text-center">Teléfono</th>
|
|
|
|
+ <th class="text-center">Encargado</th>
|
|
|
|
+ <th class="text-center">Ingr.Estimado</th>
|
|
|
|
+ <th class="text-center">Acción Sgte.</th>
|
|
|
|
+ <th class="text-center">Estado</th>
|
|
|
|
+ <th class="text-center">Fecha y Hora Cambio de Estado</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
|
+ <tbody class="crmc_tbody">
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.create_date"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.name"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.partner_id"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.phone"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.user_id"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-right">
|
|
|
|
+ <span t-field="o.planned_revenue"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.title_action"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.stage_id"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="text-left">
|
|
|
|
+ <span t-field="o.date_last_stage_update"/>
|
|
|
|
+ </td>
|
|
|
|
+ </tbody>
|
|
|
|
+ </t>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </t>
|
|
|
|
+ </t>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
|
|
+</data>
|
|
|
|
+</openerp>
|