Skip to content

Commit

Permalink
[IMP] crm_lead_marketing_info: make it compatible with marketing_crm
Browse files Browse the repository at this point in the history
  • Loading branch information
esthermm committed Aug 1, 2016
1 parent 306b3b2 commit a0d5334
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 58 deletions.
6 changes: 6 additions & 0 deletions crm_lead_marketing_info/README.rst
@@ -1,3 +1,8 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=======================
CRM lead marketing info
=======================

Expand All @@ -14,3 +19,4 @@ Contributors
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com
* Ana Juaristi <anajuaristi@avanzosc.es>
* Alfredo de la Fuente <alfredodelafuente@avanzosc.es>
* Esther Martín <esthermartin@avanzosc.es>
5 changes: 2 additions & 3 deletions crm_lead_marketing_info/__init__.py
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in root directory
##############################################################################
# (c) 2016 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
29 changes: 6 additions & 23 deletions crm_lead_marketing_info/__openerp__.py
@@ -1,34 +1,17 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Copyright (c)
# 2015 Serv. Tec. Avanzados - Pedro M. Baeza (http://www.serviciosbaeza.com)
# 2015 AvanzOsc (http://www.avanzosc.es)
#
# 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/>.
#
##############################################################################
# -*- coding: utf-8 -*-
# (c) 2016 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "CRM Lead Marketing Info",
"version": "1.0",
"version": "8.0.1.0.0",
"author": "OdooMRP team,"
"AvanzOSC,"
"Serv. Tecnol. Avanzados - Pedro M. Baeza",
"website": "http://www.odoomrp.com",
"category": "Customer Relationship Management",
"depends": [
"crm",
"marketing_crm",
],
"data": [
"views/crm_lead_view.xml",
Expand Down
32 changes: 0 additions & 32 deletions crm_lead_marketing_info/views/crm_lead_view.xml
@@ -1,22 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="crm_case_form_view_leads_inh_marketinginfo">
<field name="name">crm.case.form.view.leads.inh.marketinginfo</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_leads" />
<field name="arch" type="xml">
<page string="Extra Info" position="after">
<page string="Marketing Info" >
<group>
<field name="campaign_id"/>
<field name="medium_id"/>
<field name="source_id"/>
</group>
</page>
</page>
</field>
</record>
<record model="ir.ui.view" id="crm_case_tree_view_leads_inh_marketinginfo">
<field name="name">crm.case.tree.view.leads.inh.marketinginfo</field>
<field name="model">crm.lead</field>
Expand Down Expand Up @@ -45,22 +29,6 @@
</field>
</field>
</record>
<record model="ir.ui.view" id="crm_case_form_view_oppor_inh_marketinginfo">
<field name="name">crm.case.form.view.oppor.inh.marketinginfo</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_oppor" />
<field name="arch" type="xml">
<page string="Fund Raising" position="after">
<page string="Marketing Info" >
<group>
<field name="campaign_id"/>
<field name="medium_id"/>
<field name="source_id"/>
</group>
</page>
</page>
</field>
</record>
<record model="ir.ui.view" id="crm_case_tree_view_oppor_inh_marketinginfo">
<field name="name">crm.case.tree.view.oppor.inh.marketinginfo</field>
<field name="model">crm.lead</field>
Expand Down

0 comments on commit a0d5334

Please sign in to comment.