Ver Fonte

commit informes_crm_lead

sebas há 8 anos atrás
commit
90c21e9302
7 ficheiros alterados com 160 adições e 0 exclusões
  1. 27 0
      __init__.py
  2. BIN
      __init__.pyc
  3. 46 0
      __openerp__.py
  4. 0 0
      informe_crm_lead.py
  5. BIN
      informe_crm_lead.pyc
  6. 87 0
      informe_crm_lead.xml
  7. BIN
      static/description/icon.png

+ 27 - 0
__init__.py

@@ -0,0 +1,27 @@
+# -*- encoding: utf-8 -*-
+#################################################################################
+#                                                                               #
+#    product_brand for OpenERP                                                  #
+#    Copyright (C) 2009 NetAndCo (<http://www.netandco.net>).                   #
+#    Authors, Mathieu Lemercier, mathieu@netandco.net,                          #
+#             Franck Bret, franck@netandco.net                                  #
+#    Copyright (C) 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>   #
+#                                                                               #
+#    This program is free software: you can redistribute it and/or modify       #
+#    it under the terms of the GNU Affero General Public License as             #
+#    published by the Free Software Foundation, either version 3 of the         #
+#    License, or (at your option) any later version.                            #
+#                                                                               #
+#    This program is distributed in the hope that it will be useful,            #
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of             #
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              #
+#    GNU Affero General Public License for more details.                        #
+#                                                                               #
+#    You should have received a copy of the GNU Affero General Public License   #
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.      #
+#                                                                               #
+#################################################################################
+###################################################################################
+# Product Brand is an Openobject module wich enable Brand management for products #
+###################################################################################
+from . import informe_crm_lead

BIN
__init__.pyc


+ 46 - 0
__openerp__.py

@@ -0,0 +1,46 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+
+{
+    'name': 'Informe de Oportunidades de Ventas',
+    'version': '1.1',
+    'category': 'CRM',
+    'sequence': 19,
+    'summary': 'Informe de Oportunidades de Ventas',
+    'description': """
+Informe de Oportunidades de Ventas
+==================================================
+
+Purchase management enables you to track your suppliers' price quotations and convert them into purchase orders if necessary.
+OpenERP has several methods of monitoring invoices and tracking the receipt of ordered goods. You can handle partial deliveries in OpenERP, so you can keep track of items that are still to be delivered in your orders, and you can issue reminders automatically.
+
+
+    """,
+    'author': 'Eiru/Sebastian Penayo',
+    'website': 'http://www.paraguayenlaweb.com',
+    'depends': ['base','crm'],
+    'data': [
+        'informe_crm_lead.xml',
+    ],
+    'installable': True,
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

+ 0 - 0
informe_crm_lead.py


BIN
informe_crm_lead.pyc


+ 87 - 0
informe_crm_lead.xml

@@ -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>

BIN
static/description/icon.png