From 7cd001f3edc0420dfd77d8dc1790c9cb09eb3d70 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Wed, 25 Mar 2015 10:08:20 +0100
Subject: [PATCH 01/58] [ADD] crm_capital addon

---
 crm_capital/README.rst                        |  18 +++
 crm_capital/__init__.py                       |   6 +
 crm_capital/__openerp__.py                    |  39 +++++++
 crm_capital/i18n/crm_capital.pot              | 105 ++++++++++++++++++
 crm_capital/i18n/es.po                        | 105 ++++++++++++++++++
 crm_capital/models/__init__.py                |   8 ++
 crm_capital/models/crm_lead.py                |  28 +++++
 crm_capital/models/crm_turnover_range.py      |  20 ++++
 crm_capital/models/res_partner.py             |  14 +++
 crm_capital/security/ir.model.access.csv      |   5 +
 crm_capital/static/description/icon.png       | Bin 0 -> 19467 bytes
 crm_capital/views/crm_lead_view.xml           |  30 +++++
 crm_capital/views/crm_turnover_range_view.xml |  30 +++++
 crm_capital/views/res_partner_view.xml        |  20 ++++
 14 files changed, 428 insertions(+)
 create mode 100644 crm_capital/README.rst
 create mode 100644 crm_capital/__init__.py
 create mode 100644 crm_capital/__openerp__.py
 create mode 100644 crm_capital/i18n/crm_capital.pot
 create mode 100644 crm_capital/i18n/es.po
 create mode 100644 crm_capital/models/__init__.py
 create mode 100644 crm_capital/models/crm_lead.py
 create mode 100644 crm_capital/models/crm_turnover_range.py
 create mode 100644 crm_capital/models/res_partner.py
 create mode 100644 crm_capital/security/ir.model.access.csv
 create mode 100644 crm_capital/static/description/icon.png
 create mode 100644 crm_capital/views/crm_lead_view.xml
 create mode 100644 crm_capital/views/crm_turnover_range_view.xml
 create mode 100644 crm_capital/views/res_partner_view.xml

diff --git a/crm_capital/README.rst b/crm_capital/README.rst
new file mode 100644
index 000000000..735a076d7
--- /dev/null
+++ b/crm_capital/README.rst
@@ -0,0 +1,18 @@
+Capital in CRM
+================
+
+This module allows to set capital country, capital registered and turnover
+for companies in the CRM main objects (lead, opportunity, partner), and
+propagate them through the workflow.
+
+By capital country we mean country of origin of the capital of the company
+By capital registered we mean the amount of money registered in comercial
+registry, aka social capital or just capital of a company
+By turnover we can define a range an a concret amount
+
+Credits
+=======
+
+Contributors
+------------
+* Antonio Espinosa <antonioea@antiun.com>
diff --git a/crm_capital/__init__.py b/crm_capital/__init__.py
new file mode 100644
index 000000000..054c8853d
--- /dev/null
+++ b/crm_capital/__init__.py
@@ -0,0 +1,6 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import models
diff --git a/crm_capital/__openerp__.py b/crm_capital/__openerp__.py
new file mode 100644
index 000000000..0a26b02b4
--- /dev/null
+++ b/crm_capital/__openerp__.py
@@ -0,0 +1,39 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Odoo Source Management Solution
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.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/>.
+#
+##############################################################################
+
+{
+    'name': 'Capital in CRM',
+    'version': '1.0',
+    'category': 'Customer Relationship Management',
+    'author': 'Antiun Ingeniería S.L.',
+    'website': 'http://www.antiun.com',
+    'depends': [
+        'crm',
+    ],
+    'data': [
+        'views/crm_turnover_range_view.xml',
+        'views/crm_lead_view.xml',
+        'views/res_partner_view.xml',
+        'security/ir.model.access.csv',
+    ],
+    "installable": True,
+}
diff --git a/crm_capital/i18n/crm_capital.pot b/crm_capital/i18n/crm_capital.pot
new file mode 100644
index 000000000..9434fb358
--- /dev/null
+++ b/crm_capital/i18n/crm_capital.pot
@@ -0,0 +1,105 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_capital
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-03-24 11:53+0000\n"
+"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_capital
+#: field:crm.lead,capital_country:0
+msgid "Capital country"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.lead,capital_registered:0
+#: field:res.partner,capital_registered:0
+msgid "Capital registered"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,children:0
+msgid "Children"
+msgstr ""
+
+#. module: crm_capital
+#: help:crm.lead,capital_country:0
+msgid "Country of origin of the capital of this company"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,id:0
+msgid "ID"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: crm_capital
+#: model:ir.model,name:crm_capital.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,name:0
+msgid "Name"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,parent_left:0
+msgid "Parent Left"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,parent_right:0
+msgid "Parent Right"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.turnover_range,parent_id:0
+msgid "Parent id"
+msgstr ""
+
+#. module: crm_capital
+#: model:ir.model,name:crm_capital.model_res_partner
+msgid "Partner"
+msgstr ""
+
+#. module: crm_capital
+#: model:ir.model,name:crm_capital.model_crm_turnover_range
+msgid "Turnover range"
+msgstr ""
+
+#. module: crm_capital
+#: view:crm.turnover_range:crm_capital.crm_turnover_range_tree_view
+#: model:ir.actions.act_window,name:crm_capital.crm_turnover_range_action
+#: model:ir.ui.menu,name:crm_capital.menu_crm_turnover_range
+msgid "Turnover ranges"
+msgstr ""
+
diff --git a/crm_capital/i18n/es.po b/crm_capital/i18n/es.po
new file mode 100644
index 000000000..f5b80e398
--- /dev/null
+++ b/crm_capital/i18n/es.po
@@ -0,0 +1,105 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_capital
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-03-24 11:53+0000\n"
+"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_capital
+#: field:crm.lead,capital_country:0
+msgid "Capital country"
+msgstr "Nacionalidad del capital"
+
+#. module: crm_capital
+#: field:crm.lead,capital_registered:0
+#: field:res.partner,capital_registered:0
+msgid "Capital registered"
+msgstr "Capital social"
+
+#. module: crm_capital
+#: field:crm.turnover_range,children:0
+msgid "Children"
+msgstr "Hijos"
+
+#. module: crm_capital
+#: help:crm.lead,capital_country:0
+msgid "Country of origin of the capital of this company"
+msgstr "País de origen del capital social de esta empresa"
+
+#. module: crm_capital
+#: field:crm.turnover_range,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: crm_capital
+#: field:crm.turnover_range,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: crm_capital
+#: field:crm.turnover_range,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: crm_capital
+#: field:crm.turnover_range,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: crm_capital
+#: field:crm.turnover_range,write_date:0
+msgid "Last Updated on"
+msgstr "última actualización en"
+
+#. module: crm_capital
+#: model:ir.model,name:crm_capital.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Iniciativa/Oportunidad"
+
+#. module: crm_capital
+#: field:crm.turnover_range,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: crm_capital
+#: field:crm.turnover_range,parent_left:0
+msgid "Parent Left"
+msgstr "Padre izquierdo"
+
+#. module: crm_capital
+#: field:crm.turnover_range,parent_right:0
+msgid "Parent Right"
+msgstr "Padre derecho"
+
+#. module: crm_capital
+#: field:crm.turnover_range,parent_id:0
+msgid "Parent id"
+msgstr "ID del padre"
+
+#. module: crm_capital
+#: model:ir.model,name:crm_capital.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: crm_capital
+#: model:ir.model,name:crm_capital.model_crm_turnover_range
+msgid "Turnover range"
+msgstr "Rango de facturación"
+
+#. module: crm_capital
+#: view:crm.turnover_range:crm_capital.crm_turnover_range_tree_view
+#: model:ir.actions.act_window,name:crm_capital.crm_turnover_range_action
+#: model:ir.ui.menu,name:crm_capital.menu_crm_turnover_range
+msgid "Turnover ranges"
+msgstr "Rangos de facturación"
+
diff --git a/crm_capital/models/__init__.py b/crm_capital/models/__init__.py
new file mode 100644
index 000000000..2e0c5d82f
--- /dev/null
+++ b/crm_capital/models/__init__.py
@@ -0,0 +1,8 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import crm_turnover_range
+from . import crm_lead
+from . import res_partner
diff --git a/crm_capital/models/crm_lead.py b/crm_capital/models/crm_lead.py
new file mode 100644
index 000000000..0b0a517f2
--- /dev/null
+++ b/crm_capital/models/crm_lead.py
@@ -0,0 +1,28 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmLead(models.Model):
+    _inherit = 'crm.lead'
+
+    capital_country = fields.Many2one(
+        'res.country', string="Capital country",
+        help="Country of origin of the capital of this company")
+    capital_registered = fields.Integer(string="Capital registered")
+
+    def _lead_create_contact(self, cr, uid, lead, name, is_company,
+                             parent_id=False, context=None):
+        """Propagate capital_country and capital_registered to created partner.
+        """
+        partner_id = super(CrmLead, self)._lead_create_contact(
+            cr, uid, lead, name, is_company, parent_id=parent_id,
+            context=context)
+        self.pool['res.partner'].write(
+            cr, uid, partner_id, {
+                'capital_country': lead.capital_country.id,
+                'capital_registered': lead.capital_registered
+            }, context=context)
+        return partner_id
diff --git a/crm_capital/models/crm_turnover_range.py b/crm_capital/models/crm_turnover_range.py
new file mode 100644
index 000000000..875496abf
--- /dev/null
+++ b/crm_capital/models/crm_turnover_range.py
@@ -0,0 +1,20 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmTurnoverRange(models.Model):
+    _name = 'crm.turnover_range'
+    _order = "parent_left"
+    _parent_order = "name"
+    _parent_store = True
+    _description = "Turnover range"
+
+    name = fields.Char(required=True)
+    parent_id = fields.Many2one(comodel_name='crm.turnover_range')
+    children = fields.One2many(comodel_name='crm.turnover_range',
+                               inverse_name='parent_id')
+    parent_left = fields.Integer('Parent Left', select=True)
+    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_capital/models/res_partner.py b/crm_capital/models/res_partner.py
new file mode 100644
index 000000000..8eb85d32e
--- /dev/null
+++ b/crm_capital/models/res_partner.py
@@ -0,0 +1,14 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+
+    capital_country = fields.Many2one(
+        'res.country', string="Capital country",
+        help="Country of origin of the capital of this company")
+    capital_registered = fields.Integer(string="Capital registered")
diff --git a/crm_capital/security/ir.model.access.csv b/crm_capital/security/ir.model.access.csv
new file mode 100644
index 000000000..ff06a904d
--- /dev/null
+++ b/crm_capital/security/ir.model.access.csv
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_crm_turnover_public","crm_turnover_range group_public","model_crm_turnover_range","base.group_public",1,0,0,0
+"access_crm_turnover_portal","crm_turnover_range group_portal","model_crm_turnover_range","base.group_portal",1,0,0,0
+"access_crm_turnover_group_partner_manager","crm_turnover_range group_partner_manager","model_crm_turnover_range","base.group_partner_manager",1,1,1,1
+"access_crm_turnover_group_user","crm_turnover_range group_user","model_crm_turnover_range","base.group_user",1,0,0,0
diff --git a/crm_capital/static/description/icon.png b/crm_capital/static/description/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..abc5b9a32987ba72504e20d2f7e8316c7ca59f93
GIT binary patch
literal 19467
zcmV*DKy1H>P)<h;3K|Lk000e1NJLTq004jh004jp1^@s6!#-il00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-vby693U+Hla2rYAOJ~3
zK~#9!?45a>Tvv7HzvsU9YVWSzyS4AKBwIq3WgEN@aE!6RU>mb0WSKA!5wMaBTYwO<
zlMEg*kwXwp!jP~82MicvM>g0pHeMy$vbFDPZ&I(-wZC`ooj=~I>Z+C?PKMZKX4;?r
zxLeg-RejI?JHK<T@c-zCwN`Gs?KS~ev2TwY7#<dY-S>XSexZc^iNC0=`xigBKRy4{
z$)sN@mVfP*jS~QNIU)zbr~Y|52l>BV(iLRW7dOfB<;&&3fdis`w3YL=_u8xDn~fa!
z$-=t*%z<?J@#klGWBG-)P+Tg-(sDbMUug5CxfF_Rs#r=;saCBx`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ode 100644
index 000000000..87f66a013
--- /dev/null
+++ b/crm_capital/views/crm_lead_view.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="crm_case_form_view_leads_capital">
+            <field name="name">CRM - Leads Form with capital info</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+            <field name="arch" type="xml">
+                <field name="partner_id" position="before">
+                    <field name="capital_country"/>
+                    <field name="capital_registered"/>
+                </field>
+            </field>
+        </record>
+
+        <record model="ir.ui.view" id="crm_case_form_view_oppor_capital">
+            <field name="name">CRM - Leads Form with capital info</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+            <field name="arch" type="xml">
+                <field name="partner_id" position="before">
+                    <field name="capital_country"/>
+                    <field name="capital_registered"/>
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_capital/views/crm_turnover_range_view.xml b/crm_capital/views/crm_turnover_range_view.xml
new file mode 100644
index 000000000..329aff280
--- /dev/null
+++ b/crm_capital/views/crm_turnover_range_view.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record id="crm_turnover_range_action" model="ir.actions.act_window">
+            <field name="name">Turnover ranges</field>
+            <field name="res_model">crm.turnover_range</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree</field>
+        </record>
+
+        <record id="crm_turnover_range_tree_view" model="ir.ui.view">
+            <field name="name">CRM Turnover range tree</field>
+            <field name="model">crm.turnover_range</field>
+            <field name="arch" type="xml">
+                <tree string="Turnover ranges" editable="bottom">
+                    <field name="name"/>
+                    <field name="parent_id"/>
+                </tree>
+            </field>
+        </record>
+
+        <menuitem action="crm_turnover_range_action"
+                  id="menu_crm_turnover_range"
+                  name="Turnover ranges"
+                  parent="base.menu_crm_config_lead"
+                  sequence="5"/>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_capital/views/res_partner_view.xml b/crm_capital/views/res_partner_view.xml
new file mode 100644
index 000000000..f5e730709
--- /dev/null
+++ b/crm_capital/views/res_partner_view.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="view_partner_form_capital">
+            <field name="name">Partner form with capital info</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_form"/>
+            <field name="arch" type="xml">
+                <field name="phone" position="before">
+                    <field name="capital_country"
+                           attrs="{'invisible': [('is_company', '=', False)]}"/>
+                    <field name="capital_registered"
+                           attrs="{'invisible': [('is_company', '=', False)]}"/>
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file

From d9447b070e655126bc143cbe817ed727e3794352 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 27 Mar 2015 12:53:53 +0100
Subject: [PATCH 02/58] Set some fields as tranlate

---
 crm_capital/models/crm_turnover_range.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_capital/models/crm_turnover_range.py b/crm_capital/models/crm_turnover_range.py
index 875496abf..5df06607b 100644
--- a/crm_capital/models/crm_turnover_range.py
+++ b/crm_capital/models/crm_turnover_range.py
@@ -12,7 +12,7 @@ class CrmTurnoverRange(models.Model):
     _parent_store = True
     _description = "Turnover range"
 
-    name = fields.Char(required=True)
+    name = fields.Char(required=True, translate=True)
     parent_id = fields.Many2one(comodel_name='crm.turnover_range')
     children = fields.One2many(comodel_name='crm.turnover_range',
                                inverse_name='parent_id')

From d487f3c8471873dedfbd70e1a09bca6fe9b5f8dc Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Mon, 30 Mar 2015 17:29:52 +0200
Subject: [PATCH 03/58] Turnover items has no parent

---
 crm_capital/models/crm_turnover_range.py      | 8 --------
 crm_capital/views/crm_turnover_range_view.xml | 1 -
 2 files changed, 9 deletions(-)

diff --git a/crm_capital/models/crm_turnover_range.py b/crm_capital/models/crm_turnover_range.py
index 5df06607b..b6784462e 100644
--- a/crm_capital/models/crm_turnover_range.py
+++ b/crm_capital/models/crm_turnover_range.py
@@ -7,14 +7,6 @@ from openerp import models, fields
 
 class CrmTurnoverRange(models.Model):
     _name = 'crm.turnover_range'
-    _order = "parent_left"
-    _parent_order = "name"
-    _parent_store = True
     _description = "Turnover range"
 
     name = fields.Char(required=True, translate=True)
-    parent_id = fields.Many2one(comodel_name='crm.turnover_range')
-    children = fields.One2many(comodel_name='crm.turnover_range',
-                               inverse_name='parent_id')
-    parent_left = fields.Integer('Parent Left', select=True)
-    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_capital/views/crm_turnover_range_view.xml b/crm_capital/views/crm_turnover_range_view.xml
index 329aff280..fbc3f87c9 100644
--- a/crm_capital/views/crm_turnover_range_view.xml
+++ b/crm_capital/views/crm_turnover_range_view.xml
@@ -15,7 +15,6 @@
             <field name="arch" type="xml">
                 <tree string="Turnover ranges" editable="bottom">
                     <field name="name"/>
-                    <field name="parent_id"/>
                 </tree>
             </field>
         </record>

From 14cb48926b6fcc46d85bbffa318223ae76f15e8a Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Wed, 8 Apr 2015 19:34:05 +0200
Subject: [PATCH 04/58] [FIX] Declare turnover fields in model

---
 crm_capital/models/crm_lead.py    | 6 +++++-
 crm_capital/models/res_partner.py | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/crm_capital/models/crm_lead.py b/crm_capital/models/crm_lead.py
index 0b0a517f2..6e3978fe6 100644
--- a/crm_capital/models/crm_lead.py
+++ b/crm_capital/models/crm_lead.py
@@ -12,6 +12,8 @@ class CrmLead(models.Model):
         'res.country', string="Capital country",
         help="Country of origin of the capital of this company")
     capital_registered = fields.Integer(string="Capital registered")
+    turnover_range = fields.Many2one(comodel_name='crm.turnover_range')
+    turnover_number = fields.Integer()
 
     def _lead_create_contact(self, cr, uid, lead, name, is_company,
                              parent_id=False, context=None):
@@ -23,6 +25,8 @@ class CrmLead(models.Model):
         self.pool['res.partner'].write(
             cr, uid, partner_id, {
                 'capital_country': lead.capital_country.id,
-                'capital_registered': lead.capital_registered
+                'capital_registered': lead.capital_registered,
+                'turnover_range': lead.turnover_range.id,
+                'turnover_number': lead.turnover_number,
             }, context=context)
         return partner_id
diff --git a/crm_capital/models/res_partner.py b/crm_capital/models/res_partner.py
index 8eb85d32e..ded600eeb 100644
--- a/crm_capital/models/res_partner.py
+++ b/crm_capital/models/res_partner.py
@@ -12,3 +12,5 @@ class ResPartner(models.Model):
         'res.country', string="Capital country",
         help="Country of origin of the capital of this company")
     capital_registered = fields.Integer(string="Capital registered")
+    turnover_range = fields.Many2one(comodel_name='crm.turnover_range')
+    turnover_number = fields.Integer()

From 99938d564a3bd443932aebe24adae06ffe1debd3 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Wed, 8 Apr 2015 19:34:58 +0200
Subject: [PATCH 05/58] [FIX] XML revised

---
 crm_capital/views/crm_lead_view.xml           | 86 +++++++++++++------
 crm_capital/views/crm_turnover_range_view.xml | 46 +++++-----
 crm_capital/views/res_partner_view.xml        | 52 +++++++----
 3 files changed, 120 insertions(+), 64 deletions(-)

diff --git a/crm_capital/views/crm_lead_view.xml b/crm_capital/views/crm_lead_view.xml
index 87f66a013..a06b65a4d 100644
--- a/crm_capital/views/crm_lead_view.xml
+++ b/crm_capital/views/crm_lead_view.xml
@@ -1,30 +1,66 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="crm_case_form_view_leads_capital">
-            <field name="name">CRM - Leads Form with capital info</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-            <field name="arch" type="xml">
-                <field name="partner_id" position="before">
-                    <field name="capital_country"/>
-                    <field name="capital_registered"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="crm_case_form_view_leads_capital">
+    <field name="name">CRM - Leads Form with capital info</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+    <field name="arch" type="xml">
+        <field name="partner_id" position="before">
+            <field name="capital_country"/>
+            <field name="capital_registered"/>
+            <field name="turnover_range"/>
+            <field name="turnover_number"/>
+        </field>
+    </field>
+</record>
 
-        <record model="ir.ui.view" id="crm_case_form_view_oppor_capital">
-            <field name="name">CRM - Leads Form with capital info</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-            <field name="arch" type="xml">
-                <field name="partner_id" position="before">
-                    <field name="capital_country"/>
-                    <field name="capital_registered"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_crm_case_leads_filter_capital">
+    <field name="name">CRM - Leads Search with capital</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
+    <field name="arch" type="xml">
+        <filter string="Sales Team" position="after">
+            <filter string="Capital country"
+                    domain="[]"
+                    context="{'group_by': 'capital_country'}"/>
+            <filter string="Turnover"
+                    domain="[]"
+                    context="{'group_by': 'turnover_number'}"/>
+        </filter>
+    </field>
+</record>
 
-    </data>
+<record model="ir.ui.view" id="crm_case_form_view_oppor_capital">
+    <field name="name">CRM - Leads Form with capital info</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+    <field name="arch" type="xml">
+        <field name="partner_id" position="before">
+            <field name="capital_country"/>
+            <field name="capital_registered"/>
+            <field name="turnover_range"/>
+            <field name="turnover_number"/>
+        </field>
+    </field>
+</record>
+
+<record model="ir.ui.view" id="view_crm_case_opportunities_filter_capital">
+    <field name="name">CRM - Leads Search with capital</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
+    <field name="arch" type="xml">
+        <filter string="Sales Team" position="after">
+            <filter string="Capital country"
+                    domain="[]"
+                    context="{'group_by': 'capital_country'}"/>
+            <filter string="Turnover"
+                    domain="[]"
+                    context="{'group_by': 'turnover_number'}"/>
+        </filter>
+    </field>
+</record>
+
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_capital/views/crm_turnover_range_view.xml b/crm_capital/views/crm_turnover_range_view.xml
index fbc3f87c9..366896a2d 100644
--- a/crm_capital/views/crm_turnover_range_view.xml
+++ b/crm_capital/views/crm_turnover_range_view.xml
@@ -1,29 +1,29 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record id="crm_turnover_range_action" model="ir.actions.act_window">
-            <field name="name">Turnover ranges</field>
-            <field name="res_model">crm.turnover_range</field>
-            <field name="view_type">form</field>
-            <field name="view_mode">tree</field>
-        </record>
+<record id="crm_turnover_range_action" model="ir.actions.act_window">
+    <field name="name">Turnover ranges</field>
+    <field name="res_model">crm.turnover_range</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
 
-        <record id="crm_turnover_range_tree_view" model="ir.ui.view">
-            <field name="name">CRM Turnover range tree</field>
-            <field name="model">crm.turnover_range</field>
-            <field name="arch" type="xml">
-                <tree string="Turnover ranges" editable="bottom">
-                    <field name="name"/>
-                </tree>
-            </field>
-        </record>
+<record id="crm_turnover_range_tree_view" model="ir.ui.view">
+    <field name="name">CRM Turnover range tree</field>
+    <field name="model">crm.turnover_range</field>
+    <field name="arch" type="xml">
+        <tree string="Turnover ranges" editable="bottom">
+            <field name="name"/>
+        </tree>
+    </field>
+</record>
 
-        <menuitem action="crm_turnover_range_action"
-                  id="menu_crm_turnover_range"
-                  name="Turnover ranges"
-                  parent="base.menu_crm_config_lead"
-                  sequence="5"/>
+<menuitem action="crm_turnover_range_action"
+          id="menu_crm_turnover_range"
+          name="Turnover ranges"
+          parent="base.menu_crm_config_lead"
+          sequence="5"/>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_capital/views/res_partner_view.xml b/crm_capital/views/res_partner_view.xml
index f5e730709..38013dad0 100644
--- a/crm_capital/views/res_partner_view.xml
+++ b/crm_capital/views/res_partner_view.xml
@@ -1,20 +1,40 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="view_partner_form_capital">
-            <field name="name">Partner form with capital info</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_partner_form"/>
-            <field name="arch" type="xml">
-                <field name="phone" position="before">
-                    <field name="capital_country"
-                           attrs="{'invisible': [('is_company', '=', False)]}"/>
-                    <field name="capital_registered"
-                           attrs="{'invisible': [('is_company', '=', False)]}"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_partner_form_capital">
+    <field name="name">Partner form with capital info</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_form"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="capital_country"
+                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="capital_registered"
+                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="turnover_range"
+                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="turnover_number"
+                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+        </field>
+    </field>
+</record>
 
-    </data>
+<record model="ir.ui.view" id="view_res_partner_filter_capital">
+    <field name="name">Partner search with capital</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_res_partner_filter"/>
+    <field name="arch" type="xml">
+        <filter string="Salesperson" position="after">
+            <filter string="Capital country"
+                    domain="[('is_company', '=', True)]"
+                    context="{'group_by': 'capital_country'}"/>
+            <filter string="Turnover"
+                    domain="[('is_company', '=', True)]"
+                    context="{'group_by': 'turnover_number'}"/>
+        </filter>
+    </field>
+</record>
+
+</data>
 </openerp>
\ No newline at end of file

From 74cfb885a5597788df27e66bd7b96f30e3d2fce7 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Thu, 16 Apr 2015 16:32:07 +0200
Subject: [PATCH 06/58] [FIX] View fields review

---
 crm_capital/views/crm_lead_view.xml    | 12 ++++++++----
 crm_capital/views/res_partner_view.xml | 10 ++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/crm_capital/views/crm_lead_view.xml b/crm_capital/views/crm_lead_view.xml
index a06b65a4d..a0a38e91b 100644
--- a/crm_capital/views/crm_lead_view.xml
+++ b/crm_capital/views/crm_lead_view.xml
@@ -8,9 +8,11 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
     <field name="arch" type="xml">
         <field name="partner_id" position="before">
-            <field name="capital_country"/>
+            <field name="capital_country" placeholder="Capital country"
+                   options='{"no_open": True}'/>
             <field name="capital_registered"/>
-            <field name="turnover_range"/>
+            <field name="turnover_range" placeholder="Turnover range"
+                   options='{"no_open": True}'/>
             <field name="turnover_number"/>
         </field>
     </field>
@@ -38,9 +40,11 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
     <field name="arch" type="xml">
         <field name="partner_id" position="before">
-            <field name="capital_country"/>
+            <field name="capital_country" placeholder="Capital country"
+                   options='{"no_open": True}'/>
             <field name="capital_registered"/>
-            <field name="turnover_range"/>
+            <field name="turnover_range" placeholder="Turnover range"
+                   options='{"no_open": True}'/>
             <field name="turnover_number"/>
         </field>
     </field>
diff --git a/crm_capital/views/res_partner_view.xml b/crm_capital/views/res_partner_view.xml
index 38013dad0..72c12ce15 100644
--- a/crm_capital/views/res_partner_view.xml
+++ b/crm_capital/views/res_partner_view.xml
@@ -8,12 +8,14 @@
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
         <field name="phone" position="before">
-            <field name="capital_country"
-                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="capital_country" placeholder="Capital country"
+                   attrs="{'invisible': [('is_company', '=', False)]}"
+                   options='{"no_open": True}'/>
             <field name="capital_registered"
                    attrs="{'invisible': [('is_company', '=', False)]}"/>
-            <field name="turnover_range"
-                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="turnover_range" placeholder="Turnover range"
+                   attrs="{'invisible': [('is_company', '=', False)]}"
+                   options='{"no_open": True}'/>
             <field name="turnover_number"
                    attrs="{'invisible': [('is_company', '=', False)]}"/>
         </field>

From 204eaec59014a5f108d8ae8810af1a7ee7925898 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 24 Apr 2015 12:26:24 +0200
Subject: [PATCH 07/58] [IMP] Add company size field

---
 crm_capital/models/crm_lead.py         | 5 +++++
 crm_capital/models/res_partner.py      | 4 ++++
 crm_capital/views/crm_lead_view.xml    | 8 ++++++++
 crm_capital/views/res_partner_view.xml | 5 +++++
 4 files changed, 22 insertions(+)

diff --git a/crm_capital/models/crm_lead.py b/crm_capital/models/crm_lead.py
index 6e3978fe6..02342d728 100644
--- a/crm_capital/models/crm_lead.py
+++ b/crm_capital/models/crm_lead.py
@@ -14,6 +14,10 @@ class CrmLead(models.Model):
     capital_registered = fields.Integer(string="Capital registered")
     turnover_range = fields.Many2one(comodel_name='crm.turnover_range')
     turnover_number = fields.Integer()
+    company_size = fields.Selection(
+        string="Company size",
+        selection=[('micro', 'Micro'), ('small', 'Small'),
+                   ('medium', 'Medium'), ('big', 'Big')])
 
     def _lead_create_contact(self, cr, uid, lead, name, is_company,
                              parent_id=False, context=None):
@@ -28,5 +32,6 @@ class CrmLead(models.Model):
                 'capital_registered': lead.capital_registered,
                 'turnover_range': lead.turnover_range.id,
                 'turnover_number': lead.turnover_number,
+                'company_size': lead.company_size,
             }, context=context)
         return partner_id
diff --git a/crm_capital/models/res_partner.py b/crm_capital/models/res_partner.py
index ded600eeb..b0a0df7df 100644
--- a/crm_capital/models/res_partner.py
+++ b/crm_capital/models/res_partner.py
@@ -14,3 +14,7 @@ class ResPartner(models.Model):
     capital_registered = fields.Integer(string="Capital registered")
     turnover_range = fields.Many2one(comodel_name='crm.turnover_range')
     turnover_number = fields.Integer()
+    company_size = fields.Selection(
+        string="Company size",
+        selection=[('micro', 'Micro'), ('small', 'Small'),
+                   ('medium', 'Medium'), ('big', 'Big')])
diff --git a/crm_capital/views/crm_lead_view.xml b/crm_capital/views/crm_lead_view.xml
index a0a38e91b..6602454a1 100644
--- a/crm_capital/views/crm_lead_view.xml
+++ b/crm_capital/views/crm_lead_view.xml
@@ -14,6 +14,7 @@
             <field name="turnover_range" placeholder="Turnover range"
                    options='{"no_open": True}'/>
             <field name="turnover_number"/>
+            <field name="company_size"/>
         </field>
     </field>
 </record>
@@ -30,6 +31,9 @@
             <filter string="Turnover"
                     domain="[]"
                     context="{'group_by': 'turnover_number'}"/>
+            <filter string="Company size"
+                    domain="[]"
+                    context="{'group_by': 'company_size'}"/>
         </filter>
     </field>
 </record>
@@ -46,6 +50,7 @@
             <field name="turnover_range" placeholder="Turnover range"
                    options='{"no_open": True}'/>
             <field name="turnover_number"/>
+            <field name="company_size"/>
         </field>
     </field>
 </record>
@@ -62,6 +67,9 @@
             <filter string="Turnover"
                     domain="[]"
                     context="{'group_by': 'turnover_number'}"/>
+            <filter string="Company size"
+                    domain="[]"
+                    context="{'group_by': 'company_size'}"/>
         </filter>
     </field>
 </record>
diff --git a/crm_capital/views/res_partner_view.xml b/crm_capital/views/res_partner_view.xml
index 72c12ce15..b2ee2eaa6 100644
--- a/crm_capital/views/res_partner_view.xml
+++ b/crm_capital/views/res_partner_view.xml
@@ -18,6 +18,8 @@
                    options='{"no_open": True}'/>
             <field name="turnover_number"
                    attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="company_size"
+                   attrs="{'invisible': [('is_company', '=', False)]}"/>
         </field>
     </field>
 </record>
@@ -34,6 +36,9 @@
             <filter string="Turnover"
                     domain="[('is_company', '=', True)]"
                     context="{'group_by': 'turnover_number'}"/>
+            <filter string="Company size"
+                    domain="[('is_company', '=', True)]"
+                    context="{'group_by': 'company_size'}"/>
         </filter>
     </field>
 </record>

From 8b85274c5c2879709c56eb429ca254b541103b72 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 22 May 2015 09:29:19 +0200
Subject: [PATCH 08/58] [FIX] Add new record on top of the list

---
 crm_capital/views/crm_turnover_range_view.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_capital/views/crm_turnover_range_view.xml b/crm_capital/views/crm_turnover_range_view.xml
index 366896a2d..1f2461ce0 100644
--- a/crm_capital/views/crm_turnover_range_view.xml
+++ b/crm_capital/views/crm_turnover_range_view.xml
@@ -13,7 +13,7 @@
     <field name="name">CRM Turnover range tree</field>
     <field name="model">crm.turnover_range</field>
     <field name="arch" type="xml">
-        <tree string="Turnover ranges" editable="bottom">
+        <tree string="Turnover ranges" editable="top">
             <field name="name"/>
         </tree>
     </field>

From e7a158444fd86575eb67633fcdf021b4cc94698c Mon Sep 17 00:00:00 2001
From: Javier Iniesta <javieria@antiun.com>
Date: Tue, 26 May 2015 18:02:19 +0200
Subject: [PATCH 09/58] [IMP] Added translations

---
 crm_capital/i18n/crm_capital.pot | 74 +++++++++++++++++++++++-----
 crm_capital/i18n/es.po           | 84 +++++++++++++++++++++++++-------
 2 files changed, 129 insertions(+), 29 deletions(-)

diff --git a/crm_capital/i18n/crm_capital.pot b/crm_capital/i18n/crm_capital.pot
index 9434fb358..4e28cdaf9 100644
--- a/crm_capital/i18n/crm_capital.pot
+++ b/crm_capital/i18n/crm_capital.pot
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-03-24 11:53+0000\n"
-"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"POT-Creation-Date: 2015-05-26 15:15+0000\n"
+"PO-Revision-Date: 2015-05-26 15:15+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -16,7 +16,20 @@ msgstr ""
 "Plural-Forms: \n"
 
 #. module: crm_capital
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Big"
+msgstr ""
+
+#. module: crm_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
 #: field:crm.lead,capital_country:0
+#: view:res.partner:crm_capital.view_partner_form_capital
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#: field:res.partner,capital_country:0
 msgid "Capital country"
 msgstr ""
 
@@ -27,12 +40,17 @@ msgid "Capital registered"
 msgstr ""
 
 #. module: crm_capital
-#: field:crm.turnover_range,children:0
-msgid "Children"
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
+#: field:crm.lead,company_size:0
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#: field:res.partner,company_size:0
+msgid "Company size"
 msgstr ""
 
 #. module: crm_capital
 #: help:crm.lead,capital_country:0
+#: help:res.partner,capital_country:0
 msgid "Country of origin of the capital of this company"
 msgstr ""
 
@@ -66,33 +84,65 @@ msgstr ""
 msgid "Lead/Opportunity"
 msgstr ""
 
+#. module: crm_capital
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Medium"
+msgstr ""
+
+#. module: crm_capital
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Micro"
+msgstr ""
+
 #. module: crm_capital
 #: field:crm.turnover_range,name:0
 msgid "Name"
 msgstr ""
 
 #. module: crm_capital
-#: field:crm.turnover_range,parent_left:0
-msgid "Parent Left"
+#: model:ir.model,name:crm_capital.model_res_partner
+msgid "Partner"
 msgstr ""
 
 #. module: crm_capital
-#: field:crm.turnover_range,parent_right:0
-msgid "Parent Right"
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
+msgid "Sales Team"
 msgstr ""
 
 #. module: crm_capital
-#: field:crm.turnover_range,parent_id:0
-msgid "Parent id"
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+msgid "Salesperson"
 msgstr ""
 
 #. module: crm_capital
-#: model:ir.model,name:crm_capital.model_res_partner
-msgid "Partner"
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Small"
+msgstr ""
+
+#. module: crm_capital
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+msgid "Turnover"
+msgstr ""
+
+#. module: crm_capital
+#: field:crm.lead,turnover_number:0
+#: field:res.partner,turnover_number:0
+msgid "Turnover number"
 msgstr ""
 
 #. module: crm_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
+#: field:crm.lead,turnover_range:0
 #: model:ir.model,name:crm_capital.model_crm_turnover_range
+#: view:res.partner:crm_capital.view_partner_form_capital
+#: field:res.partner,turnover_range:0
 msgid "Turnover range"
 msgstr ""
 
diff --git a/crm_capital/i18n/es.po b/crm_capital/i18n/es.po
index f5b80e398..ea21593b1 100644
--- a/crm_capital/i18n/es.po
+++ b/crm_capital/i18n/es.po
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-03-24 11:53+0000\n"
-"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"POT-Creation-Date: 2015-05-26 15:15+0000\n"
+"PO-Revision-Date: 2015-05-26 15:15+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -16,7 +16,20 @@ msgstr ""
 "Plural-Forms: \n"
 
 #. module: crm_capital
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Big"
+msgstr "Grande"
+
+#. module: crm_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
 #: field:crm.lead,capital_country:0
+#: view:res.partner:crm_capital.view_partner_form_capital
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#: field:res.partner,capital_country:0
 msgid "Capital country"
 msgstr "Nacionalidad del capital"
 
@@ -27,12 +40,17 @@ msgid "Capital registered"
 msgstr "Capital social"
 
 #. module: crm_capital
-#: field:crm.turnover_range,children:0
-msgid "Children"
-msgstr "Hijos"
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
+#: field:crm.lead,company_size:0
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#: field:res.partner,company_size:0
+msgid "Company size"
+msgstr "Tamaño de la companía"
 
 #. module: crm_capital
 #: help:crm.lead,capital_country:0
+#: help:res.partner,capital_country:0
 msgid "Country of origin of the capital of this company"
 msgstr "País de origen del capital social de esta empresa"
 
@@ -66,33 +84,65 @@ msgstr "última actualización en"
 msgid "Lead/Opportunity"
 msgstr "Iniciativa/Oportunidad"
 
+#. module: crm_capital
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Medium"
+msgstr "Medio"
+
+#. module: crm_capital
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Micro"
+msgstr "Micro"
+
 #. module: crm_capital
 #: field:crm.turnover_range,name:0
 msgid "Name"
 msgstr "Nombre"
 
 #. module: crm_capital
-#: field:crm.turnover_range,parent_left:0
-msgid "Parent Left"
-msgstr "Padre izquierdo"
+#: model:ir.model,name:crm_capital.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: crm_capital
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
+msgid "Sales Team"
+msgstr "Equipo de ventas"
 
 #. module: crm_capital
-#: field:crm.turnover_range,parent_right:0
-msgid "Parent Right"
-msgstr "Padre derecho"
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+msgid "Salesperson"
+msgstr "Comercial"
 
 #. module: crm_capital
-#: field:crm.turnover_range,parent_id:0
-msgid "Parent id"
-msgstr "ID del padre"
+#: selection:crm.lead,company_size:0
+#: selection:res.partner,company_size:0
+msgid "Small"
+msgstr "Pequeño"
 
 #. module: crm_capital
-#: model:ir.model,name:crm_capital.model_res_partner
-msgid "Partner"
-msgstr "Empresa"
+#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
+#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
+#: view:res.partner:crm_capital.view_res_partner_filter_capital
+msgid "Turnover"
+msgstr "Facturación"
+
+#. module: crm_capital
+#: field:crm.lead,turnover_number:0
+#: field:res.partner,turnover_number:0
+msgid "Turnover number"
+msgstr "Número de facturación"
 
 #. module: crm_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
+#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
+#: field:crm.lead,turnover_range:0
 #: model:ir.model,name:crm_capital.model_crm_turnover_range
+#: view:res.partner:crm_capital.view_partner_form_capital
+#: field:res.partner,turnover_range:0
 msgid "Turnover range"
 msgstr "Rango de facturación"
 

From b5203fc4a76e17f476da1f67ac3b1c25398a8160 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antespi@gmail.com>
Date: Wed, 1 Jul 2015 13:32:14 +0200
Subject: [PATCH 10/58] Renaming several views to complain best practices

---
 crm_capital/views/crm_lead_view.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/crm_capital/views/crm_lead_view.xml b/crm_capital/views/crm_lead_view.xml
index 6602454a1..f5cec0cfb 100644
--- a/crm_capital/views/crm_lead_view.xml
+++ b/crm_capital/views/crm_lead_view.xml
@@ -2,8 +2,8 @@
 <openerp>
 <data>
 
-<record model="ir.ui.view" id="crm_case_form_view_leads_capital">
-    <field name="name">CRM - Leads Form with capital info</field>
+<record model="ir.ui.view" id="crm_case_form_view_leads">
+    <field name="name">Add capital fields</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
     <field name="arch" type="xml">
@@ -19,8 +19,8 @@
     </field>
 </record>
 
-<record model="ir.ui.view" id="view_crm_case_leads_filter_capital">
-    <field name="name">CRM - Leads Search with capital</field>
+<record model="ir.ui.view" id="view_crm_case_leads_filter">
+    <field name="name">Add capital fields for grouping</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
     <field name="arch" type="xml">
@@ -38,8 +38,8 @@
     </field>
 </record>
 
-<record model="ir.ui.view" id="crm_case_form_view_oppor_capital">
-    <field name="name">CRM - Leads Form with capital info</field>
+<record model="ir.ui.view" id="crm_case_form_view_oppor">
+    <field name="name">Add capital fields</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
     <field name="arch" type="xml">
@@ -55,8 +55,8 @@
     </field>
 </record>
 
-<record model="ir.ui.view" id="view_crm_case_opportunities_filter_capital">
-    <field name="name">CRM - Leads Search with capital</field>
+<record model="ir.ui.view" id="view_crm_case_opportunities_filter">
+    <field name="name">Add capital fields for grouping</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
     <field name="arch" type="xml">

From 699f969a40aa15262e8ea7499fafb137bba7c828 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Wed, 16 Dec 2015 17:41:52 +0100
Subject: [PATCH 11/58] Rename addon to partner_capital.

---
 {crm_capital => partner_capital}/README.rst         |   0
 {crm_capital => partner_capital}/__init__.py        |   0
 {crm_capital => partner_capital}/__openerp__.py     |   0
 .../i18n/crm_capital.pot                            |   0
 {crm_capital => partner_capital}/i18n/es.po         |   0
 {crm_capital => partner_capital}/models/__init__.py |   0
 {crm_capital => partner_capital}/models/crm_lead.py |   0
 .../models/crm_turnover_range.py                    |   0
 .../models/res_partner.py                           |   0
 .../security/ir.model.access.csv                    |   0
 .../static/description/icon.png                     | Bin
 .../views/crm_lead_view.xml                         |   0
 .../views/crm_turnover_range_view.xml               |   0
 .../views/res_partner_view.xml                      |   0
 14 files changed, 0 insertions(+), 0 deletions(-)
 rename {crm_capital => partner_capital}/README.rst (100%)
 rename {crm_capital => partner_capital}/__init__.py (100%)
 rename {crm_capital => partner_capital}/__openerp__.py (100%)
 rename {crm_capital => partner_capital}/i18n/crm_capital.pot (100%)
 rename {crm_capital => partner_capital}/i18n/es.po (100%)
 rename {crm_capital => partner_capital}/models/__init__.py (100%)
 rename {crm_capital => partner_capital}/models/crm_lead.py (100%)
 rename {crm_capital => partner_capital}/models/crm_turnover_range.py (100%)
 rename {crm_capital => partner_capital}/models/res_partner.py (100%)
 rename {crm_capital => partner_capital}/security/ir.model.access.csv (100%)
 rename {crm_capital => partner_capital}/static/description/icon.png (100%)
 rename {crm_capital => partner_capital}/views/crm_lead_view.xml (100%)
 rename {crm_capital => partner_capital}/views/crm_turnover_range_view.xml (100%)
 rename {crm_capital => partner_capital}/views/res_partner_view.xml (100%)

diff --git a/crm_capital/README.rst b/partner_capital/README.rst
similarity index 100%
rename from crm_capital/README.rst
rename to partner_capital/README.rst
diff --git a/crm_capital/__init__.py b/partner_capital/__init__.py
similarity index 100%
rename from crm_capital/__init__.py
rename to partner_capital/__init__.py
diff --git a/crm_capital/__openerp__.py b/partner_capital/__openerp__.py
similarity index 100%
rename from crm_capital/__openerp__.py
rename to partner_capital/__openerp__.py
diff --git a/crm_capital/i18n/crm_capital.pot b/partner_capital/i18n/crm_capital.pot
similarity index 100%
rename from crm_capital/i18n/crm_capital.pot
rename to partner_capital/i18n/crm_capital.pot
diff --git a/crm_capital/i18n/es.po b/partner_capital/i18n/es.po
similarity index 100%
rename from crm_capital/i18n/es.po
rename to partner_capital/i18n/es.po
diff --git a/crm_capital/models/__init__.py b/partner_capital/models/__init__.py
similarity index 100%
rename from crm_capital/models/__init__.py
rename to partner_capital/models/__init__.py
diff --git a/crm_capital/models/crm_lead.py b/partner_capital/models/crm_lead.py
similarity index 100%
rename from crm_capital/models/crm_lead.py
rename to partner_capital/models/crm_lead.py
diff --git a/crm_capital/models/crm_turnover_range.py b/partner_capital/models/crm_turnover_range.py
similarity index 100%
rename from crm_capital/models/crm_turnover_range.py
rename to partner_capital/models/crm_turnover_range.py
diff --git a/crm_capital/models/res_partner.py b/partner_capital/models/res_partner.py
similarity index 100%
rename from crm_capital/models/res_partner.py
rename to partner_capital/models/res_partner.py
diff --git a/crm_capital/security/ir.model.access.csv b/partner_capital/security/ir.model.access.csv
similarity index 100%
rename from crm_capital/security/ir.model.access.csv
rename to partner_capital/security/ir.model.access.csv
diff --git a/crm_capital/static/description/icon.png b/partner_capital/static/description/icon.png
similarity index 100%
rename from crm_capital/static/description/icon.png
rename to partner_capital/static/description/icon.png
diff --git a/crm_capital/views/crm_lead_view.xml b/partner_capital/views/crm_lead_view.xml
similarity index 100%
rename from crm_capital/views/crm_lead_view.xml
rename to partner_capital/views/crm_lead_view.xml
diff --git a/crm_capital/views/crm_turnover_range_view.xml b/partner_capital/views/crm_turnover_range_view.xml
similarity index 100%
rename from crm_capital/views/crm_turnover_range_view.xml
rename to partner_capital/views/crm_turnover_range_view.xml
diff --git a/crm_capital/views/res_partner_view.xml b/partner_capital/views/res_partner_view.xml
similarity index 100%
rename from crm_capital/views/res_partner_view.xml
rename to partner_capital/views/res_partner_view.xml

From ee698418a2613e468704ff05a02ef770759380df Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Wed, 16 Dec 2015 18:33:01 +0100
Subject: [PATCH 12/58] Prepare module for OCA.

This means:

- Add proper README.
- Use new-style copyright & license headers.
- Update translation.
- Remove .pot.
- Drop CRM dependency.
- Move fields into Sales & Purchases tab.
- Rename some fields.
- Probably something more.
---
 partner_capital/README.rst                    |  82 ++++++++-
 partner_capital/__init__.py                   |   9 +-
 partner_capital/__openerp__.py                |  31 +---
 partner_capital/i18n/crm_capital.pot          | 155 ------------------
 partner_capital/i18n/es.po                    | 146 +++++++----------
 partner_capital/models/__init__.py            |  16 +-
 partner_capital/models/crm_lead.py            |  37 -----
 partner_capital/models/crm_turnover_range.py  |  12 --
 partner_capital/models/res_partner.py         |  25 ++-
 .../models/res_partner_turnover_range.py      |  14 ++
 partner_capital/security/ir.model.access.csv  |   8 +-
 partner_capital/views/crm_lead_view.xml       |  78 ---------
 .../views/crm_turnover_range_view.xml         |  29 ----
 .../views/res_partner_turnover_range_view.xml |  33 ++++
 partner_capital/views/res_partner_view.xml    |  34 ++--
 15 files changed, 242 insertions(+), 467 deletions(-)
 delete mode 100644 partner_capital/i18n/crm_capital.pot
 delete mode 100644 partner_capital/models/crm_lead.py
 delete mode 100644 partner_capital/models/crm_turnover_range.py
 create mode 100644 partner_capital/models/res_partner_turnover_range.py
 delete mode 100644 partner_capital/views/crm_lead_view.xml
 delete mode 100644 partner_capital/views/crm_turnover_range_view.xml
 create mode 100644 partner_capital/views/res_partner_turnover_range_view.xml

diff --git a/partner_capital/README.rst b/partner_capital/README.rst
index 735a076d7..a1590a66a 100644
--- a/partner_capital/README.rst
+++ b/partner_capital/README.rst
@@ -1,18 +1,82 @@
-Capital in CRM
-================
+.. 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
 
-This module allows to set capital country, capital registered and turnover
-for companies in the CRM main objects (lead, opportunity, partner), and
-propagate them through the workflow.
+===============
+Partners Capital
+===============
 
-By capital country we mean country of origin of the capital of the company
-By capital registered we mean the amount of money registered in comercial
-registry, aka social capital or just capital of a company
-By turnover we can define a range an a concret amount
+This module extends the functionality of partners to support setting capital
+country, registered capital amount and turnover.
+
+By capital country we mean country of origin of the capital of the company.
+
+By registered capital amount we mean the amount of money registered in the
+corresponding commercial registry, A.K.A. social capital or just capital of a
+company.
+
+By turnover we can define a range for a concrete amount.
+
+Usage
+=====
+
+To use this module, you need to:
+
+* Go to any partner's form.
+* You will find the new fields in *Sales & Purchases > Capital*.
+
+To manage turnover ranges, you need to:
+
+* Go to *Sales > Configuration > Address Book > Turnover ranges*.
+
+.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
+   :alt: Try me on Runbot
+   :target: https://runbot.odoo-community.org/runbot/134/8.0
+
+Known issues / Roadmap
+======================
+
+* Add automatic rules to calculate turnover range and company size.
+* Allow customization of company sizes.
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues
+<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
+check there if your issue has already been reported. If you spotted it first,
+help us smashing it by providing a detailed and welcomed `feedback
+<https://github.com/OCA/
+partner-contact/issues/new?body=module:%20
+partner_capital%0Aversion:%20
+8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
 
 Credits
 =======
 
+Images
+------
+
+* `Antiun Ingeniería S.L. <http://www.antiun.com>`_: Icon.
+
 Contributors
 ------------
+
 * Antonio Espinosa <antonioea@antiun.com>
+* Rafael Blasco <rafabn@antiun.com>
+* Jairo Llopis <yajo.sk8@gmail.com>
+
+Maintainer
+----------
+
+.. image:: https://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: https://odoo-community.org
+
+This module is maintained by the OCA.
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+To contribute to this module, please visit https://odoo-community.org.
diff --git a/partner_capital/__init__.py b/partner_capital/__init__.py
index 054c8853d..013a9f613 100644
--- a/partner_capital/__init__.py
+++ b/partner_capital/__init__.py
@@ -1,6 +1,7 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
 from . import models
diff --git a/partner_capital/__openerp__.py b/partner_capital/__openerp__.py
index 0a26b02b4..22a1e6b49 100644
--- a/partner_capital/__openerp__.py
+++ b/partner_capital/__openerp__.py
@@ -1,37 +1,20 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-#    OpenERP, Odoo Source Management Solution
+# -*- coding: utf-8 -*-
 #    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
 #                       Antonio Espinosa <antonioea@antiun.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/>.
-#
-##############################################################################
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
 {
-    'name': 'Capital in CRM',
-    'version': '1.0',
+    'name': 'Partners Capital',
+    'version': '8.0.1.0.0',
     'category': 'Customer Relationship Management',
     'author': 'Antiun Ingeniería S.L.',
     'website': 'http://www.antiun.com',
     'depends': [
-        'crm',
+        'base',
     ],
     'data': [
-        'views/crm_turnover_range_view.xml',
-        'views/crm_lead_view.xml',
+        'views/res_partner_turnover_range_view.xml',
         'views/res_partner_view.xml',
         'security/ir.model.access.csv',
     ],
diff --git a/partner_capital/i18n/crm_capital.pot b/partner_capital/i18n/crm_capital.pot
deleted file mode 100644
index 4e28cdaf9..000000000
--- a/partner_capital/i18n/crm_capital.pot
+++ /dev/null
@@ -1,155 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#	* crm_capital
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-26 15:15+0000\n"
-"PO-Revision-Date: 2015-05-26 15:15+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
-#: selection:res.partner,company_size:0
-msgid "Big"
-msgstr ""
-
-#. module: crm_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-#: field:crm.lead,capital_country:0
-#: view:res.partner:crm_capital.view_partner_form_capital
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
-#: field:res.partner,capital_country:0
-msgid "Capital country"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.lead,capital_registered:0
-#: field:res.partner,capital_registered:0
-msgid "Capital registered"
-msgstr ""
-
-#. module: crm_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-#: field:crm.lead,company_size:0
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
-#: field:res.partner,company_size:0
-msgid "Company size"
-msgstr ""
-
-#. module: crm_capital
-#: help:crm.lead,capital_country:0
-#: help:res.partner,capital_country:0
-msgid "Country of origin of the capital of this company"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.turnover_range,create_uid:0
-msgid "Created by"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.turnover_range,create_date:0
-msgid "Created on"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.turnover_range,id:0
-msgid "ID"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.turnover_range,write_uid:0
-msgid "Last Updated by"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.turnover_range,write_date:0
-msgid "Last Updated on"
-msgstr ""
-
-#. module: crm_capital
-#: model:ir.model,name:crm_capital.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr ""
-
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
-#: selection:res.partner,company_size:0
-msgid "Medium"
-msgstr ""
-
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
-#: selection:res.partner,company_size:0
-msgid "Micro"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.turnover_range,name:0
-msgid "Name"
-msgstr ""
-
-#. module: crm_capital
-#: model:ir.model,name:crm_capital.model_res_partner
-msgid "Partner"
-msgstr ""
-
-#. module: crm_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-msgid "Sales Team"
-msgstr ""
-
-#. module: crm_capital
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
-msgid "Salesperson"
-msgstr ""
-
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
-#: selection:res.partner,company_size:0
-msgid "Small"
-msgstr ""
-
-#. module: crm_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
-msgid "Turnover"
-msgstr ""
-
-#. module: crm_capital
-#: field:crm.lead,turnover_number:0
-#: field:res.partner,turnover_number:0
-msgid "Turnover number"
-msgstr ""
-
-#. module: crm_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
-#: field:crm.lead,turnover_range:0
-#: model:ir.model,name:crm_capital.model_crm_turnover_range
-#: view:res.partner:crm_capital.view_partner_form_capital
-#: field:res.partner,turnover_range:0
-msgid "Turnover range"
-msgstr ""
-
-#. module: crm_capital
-#: view:crm.turnover_range:crm_capital.crm_turnover_range_tree_view
-#: model:ir.actions.act_window,name:crm_capital.crm_turnover_range_action
-#: model:ir.ui.menu,name:crm_capital.menu_crm_turnover_range
-msgid "Turnover ranges"
-msgstr ""
-
diff --git a/partner_capital/i18n/es.po b/partner_capital/i18n/es.po
index ea21593b1..adbfc1ccf 100644
--- a/partner_capital/i18n/es.po
+++ b/partner_capital/i18n/es.po
@@ -1,155 +1,133 @@
 # Translation of Odoo Server.
 # This file contains the translation of the following modules:
-#	* crm_capital
+# 	* partner_capital
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-26 15:15+0000\n"
-"PO-Revision-Date: 2015-05-26 15:15+0000\n"
+"POT-Creation-Date: 2015-12-16 17:27+0000\n"
+"PO-Revision-Date: 2015-12-16 18:29+0100\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
+"Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: \n"
+"Language: es\n"
+"X-Generator: Poedit 1.8.5\n"
 
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
+#. module: partner_capital
 #: selection:res.partner,company_size:0
 msgid "Big"
 msgstr "Grande"
 
-#. module: crm_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-#: field:crm.lead,capital_country:0
-#: view:res.partner:crm_capital.view_partner_form_capital
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#. module: partner_capital
+#: view:res.partner:partner_capital.view_partner_form_capital
+msgid "Capital"
+msgstr "Capital"
+
+#. module: partner_capital
+#: field:res.partner,capital_amount:0
+msgid "Capital amount"
+msgstr "Capital amount"
+
+#. module: partner_capital
+#: view:res.partner:partner_capital.view_res_partner_filter_capital
 #: field:res.partner,capital_country:0
 msgid "Capital country"
 msgstr "Nacionalidad del capital"
 
-#. module: crm_capital
-#: field:crm.lead,capital_registered:0
-#: field:res.partner,capital_registered:0
-msgid "Capital registered"
-msgstr "Capital social"
-
-#. module: crm_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-#: field:crm.lead,company_size:0
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#. module: partner_capital
+#: view:res.partner:partner_capital.view_res_partner_filter_capital
 #: field:res.partner,company_size:0
 msgid "Company size"
 msgstr "Tamaño de la companía"
 
-#. module: crm_capital
-#: help:crm.lead,capital_country:0
+#. module: partner_capital
 #: help:res.partner,capital_country:0
-msgid "Country of origin of the capital of this company"
-msgstr "País de origen del capital social de esta empresa"
+msgid "Country of origin of this company's capital."
+msgstr "País de origen del capital de esta empresa."
 
-#. module: crm_capital
-#: field:crm.turnover_range,create_uid:0
+#. module: partner_capital
+#: field:res.partner.turnover_range,create_uid:0
 msgid "Created by"
 msgstr "Creado por"
 
-#. module: crm_capital
-#: field:crm.turnover_range,create_date:0
+#. module: partner_capital
+#: field:res.partner.turnover_range,create_date:0
 msgid "Created on"
 msgstr "Creado en"
 
-#. module: crm_capital
-#: field:crm.turnover_range,id:0
+#. module: partner_capital
+#: field:res.partner.turnover_range,id:0
 msgid "ID"
 msgstr "ID"
 
-#. module: crm_capital
-#: field:crm.turnover_range,write_uid:0
+#. module: partner_capital
+#: field:res.partner.turnover_range,write_uid:0
 msgid "Last Updated by"
 msgstr "Última actualización por"
 
-#. module: crm_capital
-#: field:crm.turnover_range,write_date:0
+#. module: partner_capital
+#: field:res.partner.turnover_range,write_date:0
 msgid "Last Updated on"
-msgstr "última actualización en"
-
-#. module: crm_capital
-#: model:ir.model,name:crm_capital.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr "Iniciativa/Oportunidad"
+msgstr "Última actualización en"
 
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
+#. module: partner_capital
 #: selection:res.partner,company_size:0
 msgid "Medium"
 msgstr "Medio"
 
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
+#. module: partner_capital
 #: selection:res.partner,company_size:0
 msgid "Micro"
 msgstr "Micro"
 
-#. module: crm_capital
-#: field:crm.turnover_range,name:0
+#. module: partner_capital
+#: field:res.partner.turnover_range,name:0
 msgid "Name"
 msgstr "Nombre"
 
-#. module: crm_capital
-#: model:ir.model,name:crm_capital.model_res_partner
+#. module: partner_capital
+#: model:ir.model,name:partner_capital.model_res_partner
 msgid "Partner"
 msgstr "Empresa"
 
-#. module: crm_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-msgid "Sales Team"
-msgstr "Equipo de ventas"
+#. module: partner_capital
+#: help:res.partner,capital_amount:0
+msgid "Publicly registered capital amount."
+msgstr "Importe del capital públicamente registrado."
 
-#. module: crm_capital
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#. module: partner_capital
+#: view:res.partner:partner_capital.view_res_partner_filter_capital
 msgid "Salesperson"
 msgstr "Comercial"
 
-#. module: crm_capital
-#: selection:crm.lead,company_size:0
+#. module: partner_capital
 #: selection:res.partner,company_size:0
 msgid "Small"
 msgstr "Pequeño"
 
-#. module: crm_capital
-#: view:crm.lead:crm_capital.view_crm_case_leads_filter_capital
-#: view:crm.lead:crm_capital.view_crm_case_opportunities_filter_capital
-#: view:res.partner:crm_capital.view_res_partner_filter_capital
+#. module: partner_capital
+#: view:res.partner:partner_capital.view_res_partner_filter_capital
 msgid "Turnover"
 msgstr "Facturación"
 
-#. module: crm_capital
-#: field:crm.lead,turnover_number:0
-#: field:res.partner,turnover_number:0
-msgid "Turnover number"
-msgstr "Número de facturación"
-
-#. module: crm_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_leads_capital
-#: view:crm.lead:crm_capital.crm_case_form_view_oppor_capital
-#: field:crm.lead,turnover_range:0
-#: model:ir.model,name:crm_capital.model_crm_turnover_range
-#: view:res.partner:crm_capital.view_partner_form_capital
-#: field:res.partner,turnover_range:0
+#. module: partner_capital
+#: field:res.partner,turnover_amount:0
+msgid "Turnover amount"
+msgstr "Cantidad de facturación"
+
+#. module: partner_capital
+#: model:ir.model,name:partner_capital.model_res_partner_turnover_range
+#: field:res.partner,turnover_range_id:0
 msgid "Turnover range"
 msgstr "Rango de facturación"
 
-#. module: crm_capital
-#: view:crm.turnover_range:crm_capital.crm_turnover_range_tree_view
-#: model:ir.actions.act_window,name:crm_capital.crm_turnover_range_action
-#: model:ir.ui.menu,name:crm_capital.menu_crm_turnover_range
+#. module: partner_capital
+#: model:ir.actions.act_window,name:partner_capital.res_partner_turnover_range_action
+#: model:ir.ui.menu,name:partner_capital.menu_res_partner_turnover_range
+#: view:res.partner.turnover_range:partner_capital.res_partner_turnover_range_tree_view
 msgid "Turnover ranges"
 msgstr "Rangos de facturación"
-
diff --git a/partner_capital/models/__init__.py b/partner_capital/models/__init__.py
index 2e0c5d82f..801fe329f 100644
--- a/partner_capital/models/__init__.py
+++ b/partner_capital/models/__init__.py
@@ -1,8 +1,10 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
-from . import crm_turnover_range
-from . import crm_lead
-from . import res_partner
+from . import (
+    res_partner_turnover_range,
+    res_partner,
+)
diff --git a/partner_capital/models/crm_lead.py b/partner_capital/models/crm_lead.py
deleted file mode 100644
index 02342d728..000000000
--- a/partner_capital/models/crm_lead.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmLead(models.Model):
-    _inherit = 'crm.lead'
-
-    capital_country = fields.Many2one(
-        'res.country', string="Capital country",
-        help="Country of origin of the capital of this company")
-    capital_registered = fields.Integer(string="Capital registered")
-    turnover_range = fields.Many2one(comodel_name='crm.turnover_range')
-    turnover_number = fields.Integer()
-    company_size = fields.Selection(
-        string="Company size",
-        selection=[('micro', 'Micro'), ('small', 'Small'),
-                   ('medium', 'Medium'), ('big', 'Big')])
-
-    def _lead_create_contact(self, cr, uid, lead, name, is_company,
-                             parent_id=False, context=None):
-        """Propagate capital_country and capital_registered to created partner.
-        """
-        partner_id = super(CrmLead, self)._lead_create_contact(
-            cr, uid, lead, name, is_company, parent_id=parent_id,
-            context=context)
-        self.pool['res.partner'].write(
-            cr, uid, partner_id, {
-                'capital_country': lead.capital_country.id,
-                'capital_registered': lead.capital_registered,
-                'turnover_range': lead.turnover_range.id,
-                'turnover_number': lead.turnover_number,
-                'company_size': lead.company_size,
-            }, context=context)
-        return partner_id
diff --git a/partner_capital/models/crm_turnover_range.py b/partner_capital/models/crm_turnover_range.py
deleted file mode 100644
index b6784462e..000000000
--- a/partner_capital/models/crm_turnover_range.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmTurnoverRange(models.Model):
-    _name = 'crm.turnover_range'
-    _description = "Turnover range"
-
-    name = fields.Char(required=True, translate=True)
diff --git a/partner_capital/models/res_partner.py b/partner_capital/models/res_partner.py
index b0a0df7df..dcb4adb5f 100644
--- a/partner_capital/models/res_partner.py
+++ b/partner_capital/models/res_partner.py
@@ -1,7 +1,9 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
 from openerp import models, fields
 
 
@@ -9,11 +11,16 @@ class ResPartner(models.Model):
     _inherit = 'res.partner'
 
     capital_country = fields.Many2one(
-        'res.country', string="Capital country",
-        help="Country of origin of the capital of this company")
-    capital_registered = fields.Integer(string="Capital registered")
-    turnover_range = fields.Many2one(comodel_name='crm.turnover_range')
-    turnover_number = fields.Integer()
+        'res.country',
+        "Capital country",
+        help="Country of origin of this company's capital.")
+    capital_amount = fields.Float(
+        "Capital amount",
+        help="Publicly registered capital amount.")
+    turnover_range_id = fields.Many2one(
+        'res.partner.turnover_range',
+        "Turnover range")
+    turnover_amount = fields.Float()
     company_size = fields.Selection(
         string="Company size",
         selection=[('micro', 'Micro'), ('small', 'Small'),
diff --git a/partner_capital/models/res_partner_turnover_range.py b/partner_capital/models/res_partner_turnover_range.py
new file mode 100644
index 000000000..4fafbc852
--- /dev/null
+++ b/partner_capital/models/res_partner_turnover_range.py
@@ -0,0 +1,14 @@
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+from openerp import models, fields
+
+
+class ResPartnerTurnoverRange(models.Model):
+    _name = 'res.partner.turnover_range'
+    _description = "Turnover range"
+
+    name = fields.Char(required=True, translate=True)
diff --git a/partner_capital/security/ir.model.access.csv b/partner_capital/security/ir.model.access.csv
index ff06a904d..0a5d1bb4e 100644
--- a/partner_capital/security/ir.model.access.csv
+++ b/partner_capital/security/ir.model.access.csv
@@ -1,5 +1,5 @@
 "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_crm_turnover_public","crm_turnover_range group_public","model_crm_turnover_range","base.group_public",1,0,0,0
-"access_crm_turnover_portal","crm_turnover_range group_portal","model_crm_turnover_range","base.group_portal",1,0,0,0
-"access_crm_turnover_group_partner_manager","crm_turnover_range group_partner_manager","model_crm_turnover_range","base.group_partner_manager",1,1,1,1
-"access_crm_turnover_group_user","crm_turnover_range group_user","model_crm_turnover_range","base.group_user",1,0,0,0
+"access_crm_turnover_public","res_partner_turnover_range group_public","model_res_partner_turnover_range","base.group_public",1,0,0,0
+"access_crm_turnover_portal","res_partner_turnover_range group_portal","model_res_partner_turnover_range","base.group_portal",1,0,0,0
+"access_crm_turnover_group_partner_manager","res_partner_turnover_range group_partner_manager","model_res_partner_turnover_range","base.group_partner_manager",1,1,1,1
+"access_crm_turnover_group_user","res_partner_turnover_range group_user","model_res_partner_turnover_range","base.group_user",1,0,0,0
diff --git a/partner_capital/views/crm_lead_view.xml b/partner_capital/views/crm_lead_view.xml
deleted file mode 100644
index f5cec0cfb..000000000
--- a/partner_capital/views/crm_lead_view.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record model="ir.ui.view" id="crm_case_form_view_leads">
-    <field name="name">Add capital fields</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-    <field name="arch" type="xml">
-        <field name="partner_id" position="before">
-            <field name="capital_country" placeholder="Capital country"
-                   options='{"no_open": True}'/>
-            <field name="capital_registered"/>
-            <field name="turnover_range" placeholder="Turnover range"
-                   options='{"no_open": True}'/>
-            <field name="turnover_number"/>
-            <field name="company_size"/>
-        </field>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="view_crm_case_leads_filter">
-    <field name="name">Add capital fields for grouping</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
-    <field name="arch" type="xml">
-        <filter string="Sales Team" position="after">
-            <filter string="Capital country"
-                    domain="[]"
-                    context="{'group_by': 'capital_country'}"/>
-            <filter string="Turnover"
-                    domain="[]"
-                    context="{'group_by': 'turnover_number'}"/>
-            <filter string="Company size"
-                    domain="[]"
-                    context="{'group_by': 'company_size'}"/>
-        </filter>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="crm_case_form_view_oppor">
-    <field name="name">Add capital fields</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-    <field name="arch" type="xml">
-        <field name="partner_id" position="before">
-            <field name="capital_country" placeholder="Capital country"
-                   options='{"no_open": True}'/>
-            <field name="capital_registered"/>
-            <field name="turnover_range" placeholder="Turnover range"
-                   options='{"no_open": True}'/>
-            <field name="turnover_number"/>
-            <field name="company_size"/>
-        </field>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="view_crm_case_opportunities_filter">
-    <field name="name">Add capital fields for grouping</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
-    <field name="arch" type="xml">
-        <filter string="Sales Team" position="after">
-            <filter string="Capital country"
-                    domain="[]"
-                    context="{'group_by': 'capital_country'}"/>
-            <filter string="Turnover"
-                    domain="[]"
-                    context="{'group_by': 'turnover_number'}"/>
-            <filter string="Company size"
-                    domain="[]"
-                    context="{'group_by': 'company_size'}"/>
-        </filter>
-    </field>
-</record>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/partner_capital/views/crm_turnover_range_view.xml b/partner_capital/views/crm_turnover_range_view.xml
deleted file mode 100644
index 1f2461ce0..000000000
--- a/partner_capital/views/crm_turnover_range_view.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record id="crm_turnover_range_action" model="ir.actions.act_window">
-    <field name="name">Turnover ranges</field>
-    <field name="res_model">crm.turnover_range</field>
-    <field name="view_type">form</field>
-    <field name="view_mode">tree</field>
-</record>
-
-<record id="crm_turnover_range_tree_view" model="ir.ui.view">
-    <field name="name">CRM Turnover range tree</field>
-    <field name="model">crm.turnover_range</field>
-    <field name="arch" type="xml">
-        <tree string="Turnover ranges" editable="top">
-            <field name="name"/>
-        </tree>
-    </field>
-</record>
-
-<menuitem action="crm_turnover_range_action"
-          id="menu_crm_turnover_range"
-          name="Turnover ranges"
-          parent="base.menu_crm_config_lead"
-          sequence="5"/>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/partner_capital/views/res_partner_turnover_range_view.xml b/partner_capital/views/res_partner_turnover_range_view.xml
new file mode 100644
index 000000000..ad9d32622
--- /dev/null
+++ b/partner_capital/views/res_partner_turnover_range_view.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+     © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
+
+<openerp>
+<data>
+
+<record id="res_partner_turnover_range_action" model="ir.actions.act_window">
+    <field name="name">Turnover ranges</field>
+    <field name="res_model">res.partner.turnover_range</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
+
+<record id="res_partner_turnover_range_tree_view" model="ir.ui.view">
+    <field name="name">CRM Turnover range tree</field>
+    <field name="model">res.partner.turnover_range</field>
+    <field name="arch" type="xml">
+        <tree string="Turnover ranges" editable="top">
+            <field name="name"/>
+        </tree>
+    </field>
+</record>
+
+<menuitem action="res_partner_turnover_range_action"
+          id="menu_res_partner_turnover_range"
+          name="Turnover ranges"
+          parent="base.menu_config_address_book"
+          sequence="5"/>
+
+</data>
+</openerp>
diff --git a/partner_capital/views/res_partner_view.xml b/partner_capital/views/res_partner_view.xml
index b2ee2eaa6..ab192466f 100644
--- a/partner_capital/views/res_partner_view.xml
+++ b/partner_capital/views/res_partner_view.xml
@@ -1,4 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!-- © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+     © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
+
 <openerp>
 <data>
 
@@ -7,20 +11,20 @@
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="capital_country" placeholder="Capital country"
-                   attrs="{'invisible': [('is_company', '=', False)]}"
-                   options='{"no_open": True}'/>
-            <field name="capital_registered"
-                   attrs="{'invisible': [('is_company', '=', False)]}"/>
-            <field name="turnover_range" placeholder="Turnover range"
-                   attrs="{'invisible': [('is_company', '=', False)]}"
-                   options='{"no_open": True}'/>
-            <field name="turnover_number"
-                   attrs="{'invisible': [('is_company', '=', False)]}"/>
-            <field name="company_size"
-                   attrs="{'invisible': [('is_company', '=', False)]}"/>
-        </field>
+        <xpath expr="//page[@name='sales_purchases']" position="inside">
+            <group name="captial" string="Capital">
+                <field name="capital_country"
+                       attrs="{'invisible': [('is_company', '=', False)]}"/>
+                <field name="capital_amount"
+                       attrs="{'invisible': [('is_company', '=', False)]}"/>
+                <field name="turnover_range_id"
+                       attrs="{'invisible': [('is_company', '=', False)]}"/>
+                <field name="turnover_amount"
+                       attrs="{'invisible': [('is_company', '=', False)]}"/>
+                <field name="company_size"
+                       attrs="{'invisible': [('is_company', '=', False)]}"/>
+            </group>
+        </xpath>
     </field>
 </record>
 
@@ -44,4 +48,4 @@
 </record>
 
 </data>
-</openerp>
\ No newline at end of file
+</openerp>

From 045e8fc6218c958663f9a37443d438d13ab88d43 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Thu, 17 Dec 2015 16:53:59 +0100
Subject: [PATCH 13/58] Style corrections.

---
 partner_capital/README.rst                           |  8 ++++----
 partner_capital/__init__.py                          |  3 +--
 partner_capital/__openerp__.py                       |  3 +--
 partner_capital/models/__init__.py                   |  3 +--
 partner_capital/models/res_partner.py                | 10 ++++++----
 partner_capital/models/res_partner_turnover_range.py |  3 +--
 6 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/partner_capital/README.rst b/partner_capital/README.rst
index a1590a66a..d5dc5c71a 100644
--- a/partner_capital/README.rst
+++ b/partner_capital/README.rst
@@ -2,12 +2,12 @@
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
 
-===============
+================
 Partners Capital
-===============
+================
 
-This module extends the functionality of partners to support setting capital
-country, registered capital amount and turnover.
+This module extends the functionality of partners to support setting the
+country of origin of capital, registered capital amount and turnover.
 
 By capital country we mean country of origin of the capital of the company.
 
diff --git a/partner_capital/__init__.py b/partner_capital/__init__.py
index 013a9f613..8e6d7e45a 100644
--- a/partner_capital/__init__.py
+++ b/partner_capital/__init__.py
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
 # © 2015 Antiun Ingeniería S.L. - Jairo Llopis
 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
diff --git a/partner_capital/__openerp__.py b/partner_capital/__openerp__.py
index 22a1e6b49..76ab06a28 100644
--- a/partner_capital/__openerp__.py
+++ b/partner_capital/__openerp__.py
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
 # © 2015 Antiun Ingeniería S.L. - Jairo Llopis
 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
diff --git a/partner_capital/models/__init__.py b/partner_capital/models/__init__.py
index 801fe329f..c2cd4625c 100644
--- a/partner_capital/models/__init__.py
+++ b/partner_capital/models/__init__.py
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
 # © 2015 Antiun Ingeniería S.L. - Jairo Llopis
 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
diff --git a/partner_capital/models/res_partner.py b/partner_capital/models/res_partner.py
index dcb4adb5f..a32973a69 100644
--- a/partner_capital/models/res_partner.py
+++ b/partner_capital/models/res_partner.py
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
 # © 2015 Antiun Ingeniería S.L. - Jairo Llopis
 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
@@ -16,11 +15,14 @@ class ResPartner(models.Model):
         help="Country of origin of this company's capital.")
     capital_amount = fields.Float(
         "Capital amount",
+        oldname="capital_amount",
         help="Publicly registered capital amount.")
     turnover_range_id = fields.Many2one(
         'res.partner.turnover_range',
-        "Turnover range")
-    turnover_amount = fields.Float()
+        "Turnover range",
+        oldname="turnover_range")
+    turnover_amount = fields.Float(
+        oldname="turnover_number")
     company_size = fields.Selection(
         string="Company size",
         selection=[('micro', 'Micro'), ('small', 'Small'),
diff --git a/partner_capital/models/res_partner_turnover_range.py b/partner_capital/models/res_partner_turnover_range.py
index 4fafbc852..25712489d 100644
--- a/partner_capital/models/res_partner_turnover_range.py
+++ b/partner_capital/models/res_partner_turnover_range.py
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
 # © 2015 Antiun Ingeniería S.L. - Jairo Llopis
 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 

From 109082ae037b67137d00c74d5ac1a036fb817d14 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Wed, 25 Mar 2015 10:08:35 +0100
Subject: [PATCH 14/58] [ADD] crm_employees addon

---
 crm_employees/README.rst                      |  13 +++
 crm_employees/__init__.py                     |   6 ++
 crm_employees/__openerp__.py                  |  39 +++++++
 crm_employees/i18n/crm_employees.pot          |  97 ++++++++++++++++++
 crm_employees/i18n/es.po                      |  97 ++++++++++++++++++
 crm_employees/models/__init__.py              |   8 ++
 crm_employees/models/crm_employees_range.py   |  20 ++++
 crm_employees/models/crm_lead.py              |  26 +++++
 crm_employees/models/res_partner.py           |  12 +++
 crm_employees/security/ir.model.access.csv    |   5 +
 crm_employees/static/description/icon.png     | Bin 0 -> 18713 bytes
 .../views/crm_employees_range_view.xml        |  30 ++++++
 crm_employees/views/crm_lead_view.xml         |  30 ++++++
 crm_employees/views/res_partner_view.xml      |  20 ++++
 14 files changed, 403 insertions(+)
 create mode 100644 crm_employees/README.rst
 create mode 100644 crm_employees/__init__.py
 create mode 100644 crm_employees/__openerp__.py
 create mode 100644 crm_employees/i18n/crm_employees.pot
 create mode 100644 crm_employees/i18n/es.po
 create mode 100644 crm_employees/models/__init__.py
 create mode 100644 crm_employees/models/crm_employees_range.py
 create mode 100644 crm_employees/models/crm_lead.py
 create mode 100644 crm_employees/models/res_partner.py
 create mode 100644 crm_employees/security/ir.model.access.csv
 create mode 100644 crm_employees/static/description/icon.png
 create mode 100644 crm_employees/views/crm_employees_range_view.xml
 create mode 100644 crm_employees/views/crm_lead_view.xml
 create mode 100644 crm_employees/views/res_partner_view.xml

diff --git a/crm_employees/README.rst b/crm_employees/README.rst
new file mode 100644
index 000000000..51ffa3ece
--- /dev/null
+++ b/crm_employees/README.rst
@@ -0,0 +1,13 @@
+Employees in CRM
+================
+
+This module allows to set employees amount and employees ranges for companies
+in the CRM main objects (lead, opportunity, partner), and propagate them through
+the workflow.
+
+Credits
+=======
+
+Contributors
+------------
+* Antonio Espinosa <antonioea@antiun.com>
diff --git a/crm_employees/__init__.py b/crm_employees/__init__.py
new file mode 100644
index 000000000..054c8853d
--- /dev/null
+++ b/crm_employees/__init__.py
@@ -0,0 +1,6 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import models
diff --git a/crm_employees/__openerp__.py b/crm_employees/__openerp__.py
new file mode 100644
index 000000000..fe43bfcce
--- /dev/null
+++ b/crm_employees/__openerp__.py
@@ -0,0 +1,39 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Odoo Source Management Solution
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.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/>.
+#
+##############################################################################
+
+{
+    'name': 'Employees in CRM',
+    'version': '1.0',
+    'category': 'Customer Relationship Management',
+    'author': 'Antiun Ingeniería S.L.',
+    'website': 'http://www.antiun.com',
+    'depends': [
+        'crm',
+    ],
+    'data': [
+        'views/crm_employees_range_view.xml',
+        'views/crm_lead_view.xml',
+        'views/res_partner_view.xml',
+        'security/ir.model.access.csv',
+    ],
+    "installable": True,
+}
diff --git a/crm_employees/i18n/crm_employees.pot b/crm_employees/i18n/crm_employees.pot
new file mode 100644
index 000000000..198769332
--- /dev/null
+++ b/crm_employees/i18n/crm_employees.pot
@@ -0,0 +1,97 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_employees
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-03-24 11:53+0000\n"
+"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_employees
+#: field:crm.employees_range,children:0
+msgid "Children"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.lead,employees_number:0
+#: field:res.partner,employees_number:0
+msgid "Employees number"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.lead,employees_range:0
+#: model:ir.model,name:crm_employees.model_crm_employees_range
+#: field:res.partner,employees_range:0
+msgid "Employees range"
+msgstr ""
+
+#. module: crm_employees
+#: view:crm.employees_range:crm_employees.crm_employees_range_tree_view
+#: model:ir.actions.act_window,name:crm_employees.crm_employees_range_action
+#: model:ir.ui.menu,name:crm_employees.menu_crm_employees_range
+msgid "Employees ranges"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,id:0
+msgid "ID"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: crm_employees
+#: model:ir.model,name:crm_employees.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,name:0
+msgid "Name"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,parent_left:0
+msgid "Parent Left"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,parent_right:0
+msgid "Parent Right"
+msgstr ""
+
+#. module: crm_employees
+#: field:crm.employees_range,parent_id:0
+msgid "Parent id"
+msgstr ""
+
+#. module: crm_employees
+#: model:ir.model,name:crm_employees.model_res_partner
+msgid "Partner"
+msgstr ""
+
diff --git a/crm_employees/i18n/es.po b/crm_employees/i18n/es.po
new file mode 100644
index 000000000..77bbddff3
--- /dev/null
+++ b/crm_employees/i18n/es.po
@@ -0,0 +1,97 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_employees
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-03-24 11:53+0000\n"
+"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_employees
+#: field:crm.employees_range,children:0
+msgid "Children"
+msgstr "Hijos"
+
+#. module: crm_employees
+#: field:crm.employees_range,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: crm_employees
+#: field:crm.employees_range,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: crm_employees
+#: field:crm.lead,employees_number:0
+#: field:res.partner,employees_number:0
+msgid "Employees number"
+msgstr "Número de empleados"
+
+#. module: crm_employees
+#: field:crm.lead,employees_range:0
+#: model:ir.model,name:crm_employees.model_crm_employees_range
+#: field:res.partner,employees_range:0
+msgid "Employees range"
+msgstr "Rango de empleados"
+
+#. module: crm_employees
+#: view:crm.employees_range:crm_employees.crm_employees_range_tree_view
+#: model:ir.actions.act_window,name:crm_employees.crm_employees_range_action
+#: model:ir.ui.menu,name:crm_employees.menu_crm_employees_range
+msgid "Employees ranges"
+msgstr "Rangos de empleados"
+
+#. module: crm_employees
+#: field:crm.employees_range,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: crm_employees
+#: field:crm.employees_range,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: crm_employees
+#: field:crm.employees_range,write_date:0
+msgid "Last Updated on"
+msgstr "Última actualización en"
+
+#. module: crm_employees
+#: model:ir.model,name:crm_employees.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Iniciativa/Oportunidad"
+
+#. module: crm_employees
+#: field:crm.employees_range,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: crm_employees
+#: field:crm.employees_range,parent_left:0
+msgid "Parent Left"
+msgstr "Padre izquierdo"
+
+#. module: crm_employees
+#: field:crm.employees_range,parent_right:0
+msgid "Parent Right"
+msgstr "Padre derecho"
+
+#. module: crm_employees
+#: field:crm.employees_range,parent_id:0
+msgid "Parent id"
+msgstr "ID del padre"
+
+#. module: crm_employees
+#: model:ir.model,name:crm_employees.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
diff --git a/crm_employees/models/__init__.py b/crm_employees/models/__init__.py
new file mode 100644
index 000000000..60471a1ff
--- /dev/null
+++ b/crm_employees/models/__init__.py
@@ -0,0 +1,8 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import crm_employees_range
+from . import crm_lead
+from . import res_partner
diff --git a/crm_employees/models/crm_employees_range.py b/crm_employees/models/crm_employees_range.py
new file mode 100644
index 000000000..5610c1dd7
--- /dev/null
+++ b/crm_employees/models/crm_employees_range.py
@@ -0,0 +1,20 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmEmployeesRange(models.Model):
+    _name = 'crm.employees_range'
+    _order = "parent_left"
+    _parent_order = "name"
+    _parent_store = True
+    _description = "Employees range"
+
+    name = fields.Char(required=True)
+    parent_id = fields.Many2one(comodel_name='crm.employees_range')
+    children = fields.One2many(comodel_name='crm.employees_range',
+                               inverse_name='parent_id')
+    parent_left = fields.Integer('Parent Left', select=True)
+    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_employees/models/crm_lead.py b/crm_employees/models/crm_lead.py
new file mode 100644
index 000000000..60e9f7fce
--- /dev/null
+++ b/crm_employees/models/crm_lead.py
@@ -0,0 +1,26 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmLead(models.Model):
+    _inherit = 'crm.lead'
+
+    employees_range = fields.Many2one(comodel_name='crm.employees_range')
+    employees_number = fields.Integer()
+
+    def _lead_create_contact(self, cr, uid, lead, name, is_company,
+                             parent_id=False, context=None):
+        """Propagate employees_range and employees_number to created partner.
+        """
+        partner_id = super(CrmLead, self)._lead_create_contact(
+            cr, uid, lead, name, is_company, parent_id=parent_id,
+            context=context)
+        self.pool['res.partner'].write(
+            cr, uid, partner_id, {
+                'employees_range': lead.employees_range.id,
+                'employees_number': lead.employees_number
+            }, context=context)
+        return partner_id
diff --git a/crm_employees/models/res_partner.py b/crm_employees/models/res_partner.py
new file mode 100644
index 000000000..53b3f5e24
--- /dev/null
+++ b/crm_employees/models/res_partner.py
@@ -0,0 +1,12 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+
+    employees_range = fields.Many2one(comodel_name='crm.employees_range')
+    employees_number = fields.Integer()
diff --git a/crm_employees/security/ir.model.access.csv b/crm_employees/security/ir.model.access.csv
new file mode 100644
index 000000000..01adc1025
--- /dev/null
+++ b/crm_employees/security/ir.model.access.csv
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_crm_employees_public","crm_employees_range group_public","model_crm_employees_range","base.group_public",1,0,0,0
+"access_crm_employees_portal","crm_employees_range group_portal","model_crm_employees_range","base.group_portal",1,0,0,0
+"access_crm_employees_group_partner_manager","crm_employees_range group_partner_manager","model_crm_employees_range","base.group_partner_manager",1,1,1,1
+"access_crm_employees_group_user","crm_employees_range group_user","model_crm_employees_range","base.group_user",1,0,0,0
diff --git a/crm_employees/static/description/icon.png b/crm_employees/static/description/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..64933c90c9d7e429ceb2aa26570cd0846c81d174
GIT binary patch
literal 18713
zcmV*aKvlnqP)<h;3K|Lk000e1NJLTq004jh004jp1^@s6!#-il00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-vbvAFgQ-IJh1=(AOJ~3
zK~#9!?7exITvvJL|2gO0TYK+&w|1#zNw$P6O9E^l#PJFS+w4h5h6#a)fSoXeWD-J{
zEEAF+giPd+2!}9afCLAO0b@rt*fKWW+OjQcvG%sqQg2eP)wSI1ob&tR-m0!@$!zvu
zGc%>9A9Z(C*K*(e`+nc|2>vg<8DqpPx7;EC)*O0P92p-M00-{A!~A0z^}K(mjQv;N
zy*In$^r>`EF1i2drkiH~%xZ)<5<T_L({&L4$4lBnZ2#PLv3m7tapcGmA-}(i3wC#z
zE0R03IP(0$y7lalZ1&N;J<e2NnJJc5iBfsBnJX+ah4LbbrDj<wr|^8=2<vcJ^4a(N
z+ZXOO#)yLl587+jt~K}EbC0>^nrqbmQ-GhbRe$$`ACNQ6EfQemu|sClo;%bJ6ZHRj
zW^beO?13I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xO$RnogmKEc^24RU&<vR&*zBa`Rub0=P!NV|5oz3kDTF)qDuS-$B0A8o;cGM
zc0mYGd+14Rq1@o$;B8Y=Q*BBq%`{DAYN8TCAf-Mnr5p!lbX`AXnbzdWRVz#9(Kba4
z3=D|AzCO`)<OQKNp02T5C=}F|EnDJP;RY&hdY-owc!JpddammAd%%}{-#>hw*D`?q
zL_?iVJ%GRQeSgQIx9$sN#aK)uq=A6}+1J-6YAsa@g@OXuvSo|9|Ni^A`|i6{?Ib~y
zOR6OT*|P}a%M;0-zQ_0d<F9cI6W9R!5%3Y9(I}G-_`bjEk|aQKGLVCVgW7=u2j>5F
z<Bg}c#!{)I7OvRZ7fN0yc%Jtu;2)bb+;L!-IC^IW=p>HdSxaN3Ul!sdu-f<iiA$0I
zmm56K%K=Adj_>_q;j6yyf3eXI%a+(*fiGNU!Uy<F5)j%Vz#><_1U`Bh-nzviyoD_S
zoW?t7UewLS#s^vicpV?&C4iee&+BUuU~%}p%l!UtYZ0LF{Xfh3+wd<nY-kanajd%n
zj>IhjECM%P0dsh>=XqL-0F7bA6)=Zdo?wdr4WRdGokxoRF_yOoaCIYdh0Mck5uh>H
zSI9h^76BTA)gr*vjoB+?9;Frm8pHV2I*%3sV(h<K=g}fSjGtTqb9nw-dj+-#@M`=F
z_}|NX4qtENLoEUTzVAoGMHR!#bqd6h$mb2MCH@#ABO}ATy}e_=om^g?!K1((3kyKD
zG(cmT;9JD?bw@9gTmBKS!T0^KMh9qxg`WYQ=h?(%SKm(@E1157Zf^+qFW{TL@9$ge
zU@ZcioeYw=b9V<9pq|2cpah&emo6YJw9rBeEws==3unXs1N46BVZ6GFy#N3J07*qo
IM6N<$f<}^PvH$=8

literal 0
HcmV?d00001

diff --git a/crm_employees/views/crm_employees_range_view.xml b/crm_employees/views/crm_employees_range_view.xml
new file mode 100644
index 000000000..87fda272b
--- /dev/null
+++ b/crm_employees/views/crm_employees_range_view.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record id="crm_employees_range_action" model="ir.actions.act_window">
+            <field name="name">Employees ranges</field>
+            <field name="res_model">crm.employees_range</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree</field>
+        </record>
+
+        <record id="crm_employees_range_tree_view" model="ir.ui.view">
+            <field name="name">CRM employees_range tree</field>
+            <field name="model">crm.employees_range</field>
+            <field name="arch" type="xml">
+                <tree string="Employees ranges" editable="bottom">
+                    <field name="name"/>
+                    <field name="parent_id"/>
+                </tree>
+            </field>
+        </record>
+
+        <menuitem action="crm_employees_range_action"
+                  id="menu_crm_employees_range"
+                  name="Employees ranges"
+                  parent="base.menu_crm_config_lead"
+                  sequence="5"/>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_employees/views/crm_lead_view.xml b/crm_employees/views/crm_lead_view.xml
new file mode 100644
index 000000000..9bb89f255
--- /dev/null
+++ b/crm_employees/views/crm_lead_view.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="crm_case_form_view_leads_employees">
+            <field name="name">CRM - Leads Form with employees</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+            <field name="arch" type="xml">
+                <field name="partner_id" position="before">
+                    <field name="employees_range"/>
+                    <field name="employees_number"/>
+                </field>
+            </field>
+        </record>
+
+        <record model="ir.ui.view" id="crm_case_form_view_oppor_employees">
+            <field name="name">CRM - Leads Form with employees</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+            <field name="arch" type="xml">
+                <field name="partner_id" position="before">
+                    <field name="employees_range"/>
+                    <field name="employees_number"/>
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_employees/views/res_partner_view.xml b/crm_employees/views/res_partner_view.xml
new file mode 100644
index 000000000..3ed8d41e6
--- /dev/null
+++ b/crm_employees/views/res_partner_view.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="view_partner_form_employees">
+            <field name="name">Partner form with employees</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_form"/>
+            <field name="arch" type="xml">
+                <field name="phone" position="before">
+                    <field name="employees_range"
+                           attrs="{'invisible': [('is_company', '=', False)]}"/>
+                    <field name="employees_number"
+                           attrs="{'invisible': [('is_company', '=', False)]}"/>
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file

From 185f429f2a4309addf446fb382434e1a0ecafb9a Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 27 Mar 2015 12:53:53 +0100
Subject: [PATCH 15/58] Set some fields as tranlate

---
 crm_employees/models/crm_employees_range.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_employees/models/crm_employees_range.py b/crm_employees/models/crm_employees_range.py
index 5610c1dd7..d8912f0b5 100644
--- a/crm_employees/models/crm_employees_range.py
+++ b/crm_employees/models/crm_employees_range.py
@@ -12,7 +12,7 @@ class CrmEmployeesRange(models.Model):
     _parent_store = True
     _description = "Employees range"
 
-    name = fields.Char(required=True)
+    name = fields.Char(required=True, translate=True)
     parent_id = fields.Many2one(comodel_name='crm.employees_range')
     children = fields.One2many(comodel_name='crm.employees_range',
                                inverse_name='parent_id')

From 89f64b90063e3922a3d215b771922de85accb0f5 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Mon, 30 Mar 2015 17:30:12 +0200
Subject: [PATCH 16/58] Employees range items has no parent

---
 crm_employees/models/crm_employees_range.py      | 8 --------
 crm_employees/views/crm_employees_range_view.xml | 1 -
 2 files changed, 9 deletions(-)

diff --git a/crm_employees/models/crm_employees_range.py b/crm_employees/models/crm_employees_range.py
index d8912f0b5..0703e83b0 100644
--- a/crm_employees/models/crm_employees_range.py
+++ b/crm_employees/models/crm_employees_range.py
@@ -7,14 +7,6 @@ from openerp import models, fields
 
 class CrmEmployeesRange(models.Model):
     _name = 'crm.employees_range'
-    _order = "parent_left"
-    _parent_order = "name"
-    _parent_store = True
     _description = "Employees range"
 
     name = fields.Char(required=True, translate=True)
-    parent_id = fields.Many2one(comodel_name='crm.employees_range')
-    children = fields.One2many(comodel_name='crm.employees_range',
-                               inverse_name='parent_id')
-    parent_left = fields.Integer('Parent Left', select=True)
-    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_employees/views/crm_employees_range_view.xml b/crm_employees/views/crm_employees_range_view.xml
index 87fda272b..efe3d1671 100644
--- a/crm_employees/views/crm_employees_range_view.xml
+++ b/crm_employees/views/crm_employees_range_view.xml
@@ -15,7 +15,6 @@
             <field name="arch" type="xml">
                 <tree string="Employees ranges" editable="bottom">
                     <field name="name"/>
-                    <field name="parent_id"/>
                 </tree>
             </field>
         </record>

From 8031039e72bc32098dba9378550e05ed6f7ff37e Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Wed, 8 Apr 2015 19:34:58 +0200
Subject: [PATCH 17/58] [FIX] XML revised

---
 .../views/crm_employees_range_view.xml        | 46 ++++++++---------
 crm_employees/views/crm_lead_view.xml         | 50 +++++++++----------
 crm_employees/views/res_partner_view.xml      | 45 +++++++++++------
 3 files changed, 77 insertions(+), 64 deletions(-)

diff --git a/crm_employees/views/crm_employees_range_view.xml b/crm_employees/views/crm_employees_range_view.xml
index efe3d1671..039fd0a7b 100644
--- a/crm_employees/views/crm_employees_range_view.xml
+++ b/crm_employees/views/crm_employees_range_view.xml
@@ -1,29 +1,29 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record id="crm_employees_range_action" model="ir.actions.act_window">
-            <field name="name">Employees ranges</field>
-            <field name="res_model">crm.employees_range</field>
-            <field name="view_type">form</field>
-            <field name="view_mode">tree</field>
-        </record>
+<record id="crm_employees_range_action" model="ir.actions.act_window">
+    <field name="name">Employees ranges</field>
+    <field name="res_model">crm.employees_range</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
 
-        <record id="crm_employees_range_tree_view" model="ir.ui.view">
-            <field name="name">CRM employees_range tree</field>
-            <field name="model">crm.employees_range</field>
-            <field name="arch" type="xml">
-                <tree string="Employees ranges" editable="bottom">
-                    <field name="name"/>
-                </tree>
-            </field>
-        </record>
+<record id="crm_employees_range_tree_view" model="ir.ui.view">
+    <field name="name">CRM employees_range tree</field>
+    <field name="model">crm.employees_range</field>
+    <field name="arch" type="xml">
+        <tree string="Employees ranges" editable="bottom">
+            <field name="name"/>
+        </tree>
+    </field>
+</record>
 
-        <menuitem action="crm_employees_range_action"
-                  id="menu_crm_employees_range"
-                  name="Employees ranges"
-                  parent="base.menu_crm_config_lead"
-                  sequence="5"/>
+<menuitem action="crm_employees_range_action"
+          id="menu_crm_employees_range"
+          name="Employees ranges"
+          parent="base.menu_crm_config_lead"
+          sequence="5"/>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_employees/views/crm_lead_view.xml b/crm_employees/views/crm_lead_view.xml
index 9bb89f255..0b5b25704 100644
--- a/crm_employees/views/crm_lead_view.xml
+++ b/crm_employees/views/crm_lead_view.xml
@@ -1,30 +1,30 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="crm_case_form_view_leads_employees">
-            <field name="name">CRM - Leads Form with employees</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-            <field name="arch" type="xml">
-                <field name="partner_id" position="before">
-                    <field name="employees_range"/>
-                    <field name="employees_number"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="crm_case_form_view_leads_employees">
+    <field name="name">CRM - Leads Form with employees</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+    <field name="arch" type="xml">
+        <field name="partner_id" position="before">
+            <field name="employees_range"/>
+            <field name="employees_number"/>
+        </field>
+    </field>
+</record>
 
-        <record model="ir.ui.view" id="crm_case_form_view_oppor_employees">
-            <field name="name">CRM - Leads Form with employees</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-            <field name="arch" type="xml">
-                <field name="partner_id" position="before">
-                    <field name="employees_range"/>
-                    <field name="employees_number"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="crm_case_form_view_oppor_employees">
+    <field name="name">CRM - Leads Form with employees</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+    <field name="arch" type="xml">
+        <field name="partner_id" position="before">
+            <field name="employees_range"/>
+            <field name="employees_number"/>
+        </field>
+    </field>
+</record>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_employees/views/res_partner_view.xml b/crm_employees/views/res_partner_view.xml
index 3ed8d41e6..32a09c1a5 100644
--- a/crm_employees/views/res_partner_view.xml
+++ b/crm_employees/views/res_partner_view.xml
@@ -1,20 +1,33 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="view_partner_form_employees">
-            <field name="name">Partner form with employees</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_partner_form"/>
-            <field name="arch" type="xml">
-                <field name="phone" position="before">
-                    <field name="employees_range"
-                           attrs="{'invisible': [('is_company', '=', False)]}"/>
-                    <field name="employees_number"
-                           attrs="{'invisible': [('is_company', '=', False)]}"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_partner_form_employees">
+    <field name="name">Partner form with employees</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_form"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="employees_range"
+                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="employees_number"
+                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+        </field>
+    </field>
+</record>
 
-    </data>
+<record model="ir.ui.view" id="view_res_partner_filter_employees">
+    <field name="name">Partner search with employees</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_res_partner_filter"/>
+    <field name="arch" type="xml">
+        <filter string="Salesperson" position="after">
+            <filter string="Emplooyees"
+                    domain="[('is_company','=', True)]"
+                    context="{'group_by': 'employees_range'}"/>
+        </filter>
+    </field>
+</record>
+
+</data>
 </openerp>
\ No newline at end of file

From 1045ee65d2194c58de7a2d16af83bcdb9bf049e5 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Thu, 16 Apr 2015 16:32:07 +0200
Subject: [PATCH 18/58] [FIX] View fields review

---
 crm_employees/views/crm_lead_view.xml    | 6 ++++--
 crm_employees/views/res_partner_view.xml | 5 +++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/crm_employees/views/crm_lead_view.xml b/crm_employees/views/crm_lead_view.xml
index 0b5b25704..c7fff6076 100644
--- a/crm_employees/views/crm_lead_view.xml
+++ b/crm_employees/views/crm_lead_view.xml
@@ -8,7 +8,8 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
     <field name="arch" type="xml">
         <field name="partner_id" position="before">
-            <field name="employees_range"/>
+            <field name="employees_range" placeholder="Employees range"
+                   options='{"no_open": True}'/>
             <field name="employees_number"/>
         </field>
     </field>
@@ -20,7 +21,8 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
     <field name="arch" type="xml">
         <field name="partner_id" position="before">
-            <field name="employees_range"/>
+            <field name="employees_range" placeholder="Employees range"
+                   options='{"no_open": True}'/>
             <field name="employees_number"/>
         </field>
     </field>
diff --git a/crm_employees/views/res_partner_view.xml b/crm_employees/views/res_partner_view.xml
index 32a09c1a5..7d31100a5 100644
--- a/crm_employees/views/res_partner_view.xml
+++ b/crm_employees/views/res_partner_view.xml
@@ -8,8 +8,9 @@
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
         <field name="phone" position="before">
-            <field name="employees_range"
-                   attrs="{'invisible': [('is_company', '=', False)]}"/>
+            <field name="employees_range" placeholder="Employees range"
+                   attrs="{'invisible': [('is_company', '=', False)]}"
+                   options='{"no_open": True}'/>
             <field name="employees_number"
                    attrs="{'invisible': [('is_company', '=', False)]}"/>
         </field>

From d5257c7d88cca52804491bbb0a32c9981e774fde Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 22 May 2015 09:29:19 +0200
Subject: [PATCH 19/58] [FIX] Add new record on top of the list

---
 crm_employees/views/crm_employees_range_view.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_employees/views/crm_employees_range_view.xml b/crm_employees/views/crm_employees_range_view.xml
index 039fd0a7b..7deca9816 100644
--- a/crm_employees/views/crm_employees_range_view.xml
+++ b/crm_employees/views/crm_employees_range_view.xml
@@ -13,7 +13,7 @@
     <field name="name">CRM employees_range tree</field>
     <field name="model">crm.employees_range</field>
     <field name="arch" type="xml">
-        <tree string="Employees ranges" editable="bottom">
+        <tree string="Employees ranges" editable="top">
             <field name="name"/>
         </tree>
     </field>

From 8786779495b520b27d4c5f266b22ac28946747a5 Mon Sep 17 00:00:00 2001
From: Javier Iniesta <javieria@antiun.com>
Date: Wed, 27 May 2015 12:00:23 +0200
Subject: [PATCH 20/58] [IMP] Updated translations

---
 crm_employees/i18n/crm_employees.pot | 35 ++++++++++---------------
 crm_employees/i18n/es.po             | 39 ++++++++++++----------------
 2 files changed, 30 insertions(+), 44 deletions(-)

diff --git a/crm_employees/i18n/crm_employees.pot b/crm_employees/i18n/crm_employees.pot
index 198769332..eaed68cf0 100644
--- a/crm_employees/i18n/crm_employees.pot
+++ b/crm_employees/i18n/crm_employees.pot
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-03-24 11:53+0000\n"
-"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"POT-Creation-Date: 2015-05-27 08:57+0000\n"
+"PO-Revision-Date: 2015-05-27 08:57+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -15,11 +15,6 @@ msgstr ""
 "Content-Transfer-Encoding: \n"
 "Plural-Forms: \n"
 
-#. module: crm_employees
-#: field:crm.employees_range,children:0
-msgid "Children"
-msgstr ""
-
 #. module: crm_employees
 #: field:crm.employees_range,create_uid:0
 msgid "Created by"
@@ -30,6 +25,11 @@ msgstr ""
 msgid "Created on"
 msgstr ""
 
+#. module: crm_employees
+#: view:res.partner:crm_employees.view_res_partner_filter_employees
+msgid "Emplooyees"
+msgstr ""
+
 #. module: crm_employees
 #: field:crm.lead,employees_number:0
 #: field:res.partner,employees_number:0
@@ -37,8 +37,11 @@ msgid "Employees number"
 msgstr ""
 
 #. module: crm_employees
+#: view:crm.lead:crm_employees.crm_case_form_view_leads_employees
+#: view:crm.lead:crm_employees.crm_case_form_view_oppor_employees
 #: field:crm.lead,employees_range:0
 #: model:ir.model,name:crm_employees.model_crm_employees_range
+#: view:res.partner:crm_employees.view_partner_form_employees
 #: field:res.partner,employees_range:0
 msgid "Employees range"
 msgstr ""
@@ -76,22 +79,12 @@ msgid "Name"
 msgstr ""
 
 #. module: crm_employees
-#: field:crm.employees_range,parent_left:0
-msgid "Parent Left"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.employees_range,parent_right:0
-msgid "Parent Right"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.employees_range,parent_id:0
-msgid "Parent id"
+#: model:ir.model,name:crm_employees.model_res_partner
+msgid "Partner"
 msgstr ""
 
 #. module: crm_employees
-#: model:ir.model,name:crm_employees.model_res_partner
-msgid "Partner"
+#: view:res.partner:crm_employees.view_res_partner_filter_employees
+msgid "Salesperson"
 msgstr ""
 
diff --git a/crm_employees/i18n/es.po b/crm_employees/i18n/es.po
index 77bbddff3..b0d153863 100644
--- a/crm_employees/i18n/es.po
+++ b/crm_employees/i18n/es.po
@@ -1,13 +1,13 @@
 # Translation of Odoo Server.
 # This file contains the translation of the following modules:
-#	* crm_employees
+#   * crm_employees
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-03-24 11:53+0000\n"
-"PO-Revision-Date: 2015-03-24 11:53+0000\n"
+"POT-Creation-Date: 2015-05-27 08:57+0000\n"
+"PO-Revision-Date: 2015-05-27 08:57+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -15,11 +15,6 @@ msgstr ""
 "Content-Transfer-Encoding: \n"
 "Plural-Forms: \n"
 
-#. module: crm_employees
-#: field:crm.employees_range,children:0
-msgid "Children"
-msgstr "Hijos"
-
 #. module: crm_employees
 #: field:crm.employees_range,create_uid:0
 msgid "Created by"
@@ -30,6 +25,11 @@ msgstr "Creado por"
 msgid "Created on"
 msgstr "Creado en"
 
+#. module: crm_employees
+#: view:res.partner:crm_employees.view_res_partner_filter_employees
+msgid "Emplooyees"
+msgstr "Empleados"
+
 #. module: crm_employees
 #: field:crm.lead,employees_number:0
 #: field:res.partner,employees_number:0
@@ -37,8 +37,11 @@ msgid "Employees number"
 msgstr "Número de empleados"
 
 #. module: crm_employees
+#: view:crm.lead:crm_employees.crm_case_form_view_leads_employees
+#: view:crm.lead:crm_employees.crm_case_form_view_oppor_employees
 #: field:crm.lead,employees_range:0
 #: model:ir.model,name:crm_employees.model_crm_employees_range
+#: view:res.partner:crm_employees.view_partner_form_employees
 #: field:res.partner,employees_range:0
 msgid "Employees range"
 msgstr "Rango de empleados"
@@ -75,23 +78,13 @@ msgstr "Iniciativa/Oportunidad"
 msgid "Name"
 msgstr "Nombre"
 
-#. module: crm_employees
-#: field:crm.employees_range,parent_left:0
-msgid "Parent Left"
-msgstr "Padre izquierdo"
-
-#. module: crm_employees
-#: field:crm.employees_range,parent_right:0
-msgid "Parent Right"
-msgstr "Padre derecho"
-
-#. module: crm_employees
-#: field:crm.employees_range,parent_id:0
-msgid "Parent id"
-msgstr "ID del padre"
-
 #. module: crm_employees
 #: model:ir.model,name:crm_employees.model_res_partner
 msgid "Partner"
 msgstr "Empresa"
 
+#. module: crm_employees
+#: view:res.partner:crm_employees.view_res_partner_filter_employees
+msgid "Salesperson"
+msgstr "Comercial"
+

From a7a09d9e9deee806ae5b313f5b47bd47417c67f4 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antespi@gmail.com>
Date: Wed, 1 Jul 2015 13:32:14 +0200
Subject: [PATCH 21/58] Renaming several views to complain best practices

---
 crm_employees/views/crm_lead_view.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/crm_employees/views/crm_lead_view.xml b/crm_employees/views/crm_lead_view.xml
index c7fff6076..150ad404c 100644
--- a/crm_employees/views/crm_lead_view.xml
+++ b/crm_employees/views/crm_lead_view.xml
@@ -2,8 +2,8 @@
 <openerp>
 <data>
 
-<record model="ir.ui.view" id="crm_case_form_view_leads_employees">
-    <field name="name">CRM - Leads Form with employees</field>
+<record model="ir.ui.view" id="crm_case_form_view_leads">
+    <field name="name">Add employees field</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
     <field name="arch" type="xml">
@@ -15,8 +15,8 @@
     </field>
 </record>
 
-<record model="ir.ui.view" id="crm_case_form_view_oppor_employees">
-    <field name="name">CRM - Leads Form with employees</field>
+<record model="ir.ui.view" id="crm_case_form_view_oppor">
+    <field name="name">Add employees field</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
     <field name="arch" type="xml">

From 1630652d51ca14111e074c4cbc19afd71236be12 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Thu, 17 Dec 2015 17:26:58 +0100
Subject: [PATCH 22/58] Rename module to partner_employee_amount.

---
 .../README.rst                                      |   0
 .../__init__.py                                     |   0
 .../__openerp__.py                                  |   0
 .../i18n/crm_employees.pot                          |   0
 .../i18n/es.po                                      |   0
 .../models/__init__.py                              |   0
 .../models/crm_employees_range.py                   |   0
 .../models/crm_lead.py                              |   0
 .../models/res_partner.py                           |   0
 .../security/ir.model.access.csv                    |   0
 .../static/description/icon.png                     | Bin
 .../views/crm_employees_range_view.xml              |   0
 .../views/crm_lead_view.xml                         |   0
 .../views/res_partner_view.xml                      |   0
 14 files changed, 0 insertions(+), 0 deletions(-)
 rename {crm_employees => partner_employee_amount}/README.rst (100%)
 rename {crm_employees => partner_employee_amount}/__init__.py (100%)
 rename {crm_employees => partner_employee_amount}/__openerp__.py (100%)
 rename {crm_employees => partner_employee_amount}/i18n/crm_employees.pot (100%)
 rename {crm_employees => partner_employee_amount}/i18n/es.po (100%)
 rename {crm_employees => partner_employee_amount}/models/__init__.py (100%)
 rename {crm_employees => partner_employee_amount}/models/crm_employees_range.py (100%)
 rename {crm_employees => partner_employee_amount}/models/crm_lead.py (100%)
 rename {crm_employees => partner_employee_amount}/models/res_partner.py (100%)
 rename {crm_employees => partner_employee_amount}/security/ir.model.access.csv (100%)
 rename {crm_employees => partner_employee_amount}/static/description/icon.png (100%)
 rename {crm_employees => partner_employee_amount}/views/crm_employees_range_view.xml (100%)
 rename {crm_employees => partner_employee_amount}/views/crm_lead_view.xml (100%)
 rename {crm_employees => partner_employee_amount}/views/res_partner_view.xml (100%)

diff --git a/crm_employees/README.rst b/partner_employee_amount/README.rst
similarity index 100%
rename from crm_employees/README.rst
rename to partner_employee_amount/README.rst
diff --git a/crm_employees/__init__.py b/partner_employee_amount/__init__.py
similarity index 100%
rename from crm_employees/__init__.py
rename to partner_employee_amount/__init__.py
diff --git a/crm_employees/__openerp__.py b/partner_employee_amount/__openerp__.py
similarity index 100%
rename from crm_employees/__openerp__.py
rename to partner_employee_amount/__openerp__.py
diff --git a/crm_employees/i18n/crm_employees.pot b/partner_employee_amount/i18n/crm_employees.pot
similarity index 100%
rename from crm_employees/i18n/crm_employees.pot
rename to partner_employee_amount/i18n/crm_employees.pot
diff --git a/crm_employees/i18n/es.po b/partner_employee_amount/i18n/es.po
similarity index 100%
rename from crm_employees/i18n/es.po
rename to partner_employee_amount/i18n/es.po
diff --git a/crm_employees/models/__init__.py b/partner_employee_amount/models/__init__.py
similarity index 100%
rename from crm_employees/models/__init__.py
rename to partner_employee_amount/models/__init__.py
diff --git a/crm_employees/models/crm_employees_range.py b/partner_employee_amount/models/crm_employees_range.py
similarity index 100%
rename from crm_employees/models/crm_employees_range.py
rename to partner_employee_amount/models/crm_employees_range.py
diff --git a/crm_employees/models/crm_lead.py b/partner_employee_amount/models/crm_lead.py
similarity index 100%
rename from crm_employees/models/crm_lead.py
rename to partner_employee_amount/models/crm_lead.py
diff --git a/crm_employees/models/res_partner.py b/partner_employee_amount/models/res_partner.py
similarity index 100%
rename from crm_employees/models/res_partner.py
rename to partner_employee_amount/models/res_partner.py
diff --git a/crm_employees/security/ir.model.access.csv b/partner_employee_amount/security/ir.model.access.csv
similarity index 100%
rename from crm_employees/security/ir.model.access.csv
rename to partner_employee_amount/security/ir.model.access.csv
diff --git a/crm_employees/static/description/icon.png b/partner_employee_amount/static/description/icon.png
similarity index 100%
rename from crm_employees/static/description/icon.png
rename to partner_employee_amount/static/description/icon.png
diff --git a/crm_employees/views/crm_employees_range_view.xml b/partner_employee_amount/views/crm_employees_range_view.xml
similarity index 100%
rename from crm_employees/views/crm_employees_range_view.xml
rename to partner_employee_amount/views/crm_employees_range_view.xml
diff --git a/crm_employees/views/crm_lead_view.xml b/partner_employee_amount/views/crm_lead_view.xml
similarity index 100%
rename from crm_employees/views/crm_lead_view.xml
rename to partner_employee_amount/views/crm_lead_view.xml
diff --git a/crm_employees/views/res_partner_view.xml b/partner_employee_amount/views/res_partner_view.xml
similarity index 100%
rename from crm_employees/views/res_partner_view.xml
rename to partner_employee_amount/views/res_partner_view.xml

From 766c09b3086730daf457642202be26a58143c624 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Thu, 17 Dec 2015 17:39:34 +0100
Subject: [PATCH 23/58] Prepare for OCA.

- Shorter copyright & license headers.
- Remove all CRM functionality & dependencies.
- Move fields to Sales & Purchases tab.
- Remove pot.
- Probably something more.
---
 partner_employee_amount/README.rst            | 69 ++++++++++++--
 partner_employee_amount/__init__.py           |  8 +-
 partner_employee_amount/__openerp__.py        | 37 +++-----
 .../i18n/crm_employees.pot                    | 90 -------------------
 partner_employee_amount/models/__init__.py    | 10 +--
 .../models/crm_employees_range.py             | 12 ---
 partner_employee_amount/models/crm_lead.py    | 26 ------
 partner_employee_amount/models/res_partner.py | 25 ++++--
 .../security/ir.model.access.csv              |  8 +-
 .../views/crm_employees_range_view.xml        | 29 ------
 .../views/crm_lead_view.xml                   | 32 -------
 ...res_partner_employee_amount_range_view.xml | 27 ++++++
 .../views/res_partner_view.xml                | 21 ++---
 13 files changed, 143 insertions(+), 251 deletions(-)
 delete mode 100644 partner_employee_amount/i18n/crm_employees.pot
 delete mode 100644 partner_employee_amount/models/crm_employees_range.py
 delete mode 100644 partner_employee_amount/models/crm_lead.py
 delete mode 100644 partner_employee_amount/views/crm_employees_range_view.xml
 delete mode 100644 partner_employee_amount/views/crm_lead_view.xml
 create mode 100644 partner_employee_amount/views/res_partner_employee_amount_range_view.xml

diff --git a/partner_employee_amount/README.rst b/partner_employee_amount/README.rst
index 51ffa3ece..8b344ed7c 100644
--- a/partner_employee_amount/README.rst
+++ b/partner_employee_amount/README.rst
@@ -1,13 +1,72 @@
-Employees in CRM
-================
+.. 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
 
-This module allows to set employees amount and employees ranges for companies
-in the CRM main objects (lead, opportunity, partner), and propagate them through
-the workflow.
+===========================
+Employee amount in partners
+===========================
+
+This module allows to set employee amount for partners, and categorize them by
+ranges.
+
+Configuration
+=============
+
+To manage available ranges, you need to:
+
+* Go to *Sales > Configuration > Address Book > Ranges by amount of employees*.
+
+Usage
+=====
+
+To use this module, you need to:
+
+* Go to any partner's form.
+* Enable *Is company?*.
+* Go to *Sales & Purchases > Employee amount*.
+
+.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
+   :alt: Try me on Runbot
+   :target: https://runbot.odoo-community.org/runbot/134/8.0
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues
+<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
+check there if your issue has already been reported. If you spotted it first,
+help us smashing it by providing a detailed and welcomed `feedback
+<https://github.com/OCA/
+partner-contact/issues/new?body=module:%20
+partner_employee_amount%0Aversion:%20
+8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
 
 Credits
 =======
 
+Images
+------
+
+* `Antiun Ingeniería S.L. <http://www.antiun.com>`_: Icon.
+
 Contributors
 ------------
+
 * Antonio Espinosa <antonioea@antiun.com>
+* Rafael Blasco <rafabn@antiun.com>
+* Jairo Llopis <yajo.sk8@gmail.com>
+
+Maintainer
+----------
+
+.. image:: https://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: https://odoo-community.org
+
+This module is maintained by the OCA.
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+To contribute to this module, please visit https://odoo-community.org.
diff --git a/partner_employee_amount/__init__.py b/partner_employee_amount/__init__.py
index 054c8853d..8e6d7e45a 100644
--- a/partner_employee_amount/__init__.py
+++ b/partner_employee_amount/__init__.py
@@ -1,6 +1,6 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
 from . import models
diff --git a/partner_employee_amount/__openerp__.py b/partner_employee_amount/__openerp__.py
index fe43bfcce..1c3ef7dbc 100644
--- a/partner_employee_amount/__openerp__.py
+++ b/partner_employee_amount/__openerp__.py
@@ -1,39 +1,22 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-#    OpenERP, Odoo Source Management Solution
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.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/>.
-#
-##############################################################################
+# -*- coding: utf-8 -*-
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
 {
-    'name': 'Employees in CRM',
-    'version': '1.0',
+    'name': 'Employee amount in partners',
+    'summary': 'Know how many employees a partner has',
+    'version': '8.0.1.0.0',
     'category': 'Customer Relationship Management',
     'author': 'Antiun Ingeniería S.L.',
     'website': 'http://www.antiun.com',
     'depends': [
-        'crm',
+        'base',
     ],
     'data': [
-        'views/crm_employees_range_view.xml',
-        'views/crm_lead_view.xml',
-        'views/res_partner_view.xml',
         'security/ir.model.access.csv',
+        'views/res_partner_employee_amount_range_view.xml',
+        'views/res_partner_view.xml',
     ],
     "installable": True,
 }
diff --git a/partner_employee_amount/i18n/crm_employees.pot b/partner_employee_amount/i18n/crm_employees.pot
deleted file mode 100644
index eaed68cf0..000000000
--- a/partner_employee_amount/i18n/crm_employees.pot
+++ /dev/null
@@ -1,90 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#	* crm_employees
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 08:57+0000\n"
-"PO-Revision-Date: 2015-05-27 08:57+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_employees
-#: field:crm.employees_range,create_uid:0
-msgid "Created by"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.employees_range,create_date:0
-msgid "Created on"
-msgstr ""
-
-#. module: crm_employees
-#: view:res.partner:crm_employees.view_res_partner_filter_employees
-msgid "Emplooyees"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.lead,employees_number:0
-#: field:res.partner,employees_number:0
-msgid "Employees number"
-msgstr ""
-
-#. module: crm_employees
-#: view:crm.lead:crm_employees.crm_case_form_view_leads_employees
-#: view:crm.lead:crm_employees.crm_case_form_view_oppor_employees
-#: field:crm.lead,employees_range:0
-#: model:ir.model,name:crm_employees.model_crm_employees_range
-#: view:res.partner:crm_employees.view_partner_form_employees
-#: field:res.partner,employees_range:0
-msgid "Employees range"
-msgstr ""
-
-#. module: crm_employees
-#: view:crm.employees_range:crm_employees.crm_employees_range_tree_view
-#: model:ir.actions.act_window,name:crm_employees.crm_employees_range_action
-#: model:ir.ui.menu,name:crm_employees.menu_crm_employees_range
-msgid "Employees ranges"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.employees_range,id:0
-msgid "ID"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.employees_range,write_uid:0
-msgid "Last Updated by"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.employees_range,write_date:0
-msgid "Last Updated on"
-msgstr ""
-
-#. module: crm_employees
-#: model:ir.model,name:crm_employees.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr ""
-
-#. module: crm_employees
-#: field:crm.employees_range,name:0
-msgid "Name"
-msgstr ""
-
-#. module: crm_employees
-#: model:ir.model,name:crm_employees.model_res_partner
-msgid "Partner"
-msgstr ""
-
-#. module: crm_employees
-#: view:res.partner:crm_employees.view_res_partner_filter_employees
-msgid "Salesperson"
-msgstr ""
-
diff --git a/partner_employee_amount/models/__init__.py b/partner_employee_amount/models/__init__.py
index 60471a1ff..44ab9476e 100644
--- a/partner_employee_amount/models/__init__.py
+++ b/partner_employee_amount/models/__init__.py
@@ -1,8 +1,6 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
-from . import crm_employees_range
-from . import crm_lead
 from . import res_partner
diff --git a/partner_employee_amount/models/crm_employees_range.py b/partner_employee_amount/models/crm_employees_range.py
deleted file mode 100644
index 0703e83b0..000000000
--- a/partner_employee_amount/models/crm_employees_range.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmEmployeesRange(models.Model):
-    _name = 'crm.employees_range'
-    _description = "Employees range"
-
-    name = fields.Char(required=True, translate=True)
diff --git a/partner_employee_amount/models/crm_lead.py b/partner_employee_amount/models/crm_lead.py
deleted file mode 100644
index 60e9f7fce..000000000
--- a/partner_employee_amount/models/crm_lead.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmLead(models.Model):
-    _inherit = 'crm.lead'
-
-    employees_range = fields.Many2one(comodel_name='crm.employees_range')
-    employees_number = fields.Integer()
-
-    def _lead_create_contact(self, cr, uid, lead, name, is_company,
-                             parent_id=False, context=None):
-        """Propagate employees_range and employees_number to created partner.
-        """
-        partner_id = super(CrmLead, self)._lead_create_contact(
-            cr, uid, lead, name, is_company, parent_id=parent_id,
-            context=context)
-        self.pool['res.partner'].write(
-            cr, uid, partner_id, {
-                'employees_range': lead.employees_range.id,
-                'employees_number': lead.employees_number
-            }, context=context)
-        return partner_id
diff --git a/partner_employee_amount/models/res_partner.py b/partner_employee_amount/models/res_partner.py
index 53b3f5e24..ff79d6586 100644
--- a/partner_employee_amount/models/res_partner.py
+++ b/partner_employee_amount/models/res_partner.py
@@ -1,12 +1,25 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
 from openerp import models, fields
 
 
 class ResPartner(models.Model):
     _inherit = 'res.partner'
 
-    employees_range = fields.Many2one(comodel_name='crm.employees_range')
-    employees_number = fields.Integer()
+    employee_amount = fields.Integer(
+        oldname="employees_number")
+    employee_amount_range_id = fields.Many2one(
+        "res.partner.employee_amount_range",
+        "Employee amount range",
+        help="Range of this partner depending on the employee amount.",
+        oldname="employees_range")
+
+
+class ResPartnerEmployeeAmountRange(models.Model):
+    _name = "res.partner.employee_amount_range"
+    _description = "Partner employee amount range"
+
+    name = fields.Char(required=True, translate=True)
diff --git a/partner_employee_amount/security/ir.model.access.csv b/partner_employee_amount/security/ir.model.access.csv
index 01adc1025..883a0d119 100644
--- a/partner_employee_amount/security/ir.model.access.csv
+++ b/partner_employee_amount/security/ir.model.access.csv
@@ -1,5 +1,5 @@
 "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_crm_employees_public","crm_employees_range group_public","model_crm_employees_range","base.group_public",1,0,0,0
-"access_crm_employees_portal","crm_employees_range group_portal","model_crm_employees_range","base.group_portal",1,0,0,0
-"access_crm_employees_group_partner_manager","crm_employees_range group_partner_manager","model_crm_employees_range","base.group_partner_manager",1,1,1,1
-"access_crm_employees_group_user","crm_employees_range group_user","model_crm_employees_range","base.group_user",1,0,0,0
+"access_res_partner_employee_amount_range_public","res_partner_employee_amount_range group_public","model_res_partner_employee_amount_range","base.group_public",1,0,0,0
+"access_res_partner_employee_amount_range_portal","res_partner_employee_amount_range group_portal","model_res_partner_employee_amount_range","base.group_portal",1,0,0,0
+"access_res_partner_employee_amount_range_group_partner_manager","res_partner_employee_amount_range group_partner_manager","model_res_partner_employee_amount_range","base.group_partner_manager",1,1,1,1
+"access_res_partner_employee_amount_range_group_user","res_partner_employee_amount_range group_user","model_res_partner_employee_amount_range","base.group_user",1,0,0,0
diff --git a/partner_employee_amount/views/crm_employees_range_view.xml b/partner_employee_amount/views/crm_employees_range_view.xml
deleted file mode 100644
index 7deca9816..000000000
--- a/partner_employee_amount/views/crm_employees_range_view.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record id="crm_employees_range_action" model="ir.actions.act_window">
-    <field name="name">Employees ranges</field>
-    <field name="res_model">crm.employees_range</field>
-    <field name="view_type">form</field>
-    <field name="view_mode">tree</field>
-</record>
-
-<record id="crm_employees_range_tree_view" model="ir.ui.view">
-    <field name="name">CRM employees_range tree</field>
-    <field name="model">crm.employees_range</field>
-    <field name="arch" type="xml">
-        <tree string="Employees ranges" editable="top">
-            <field name="name"/>
-        </tree>
-    </field>
-</record>
-
-<menuitem action="crm_employees_range_action"
-          id="menu_crm_employees_range"
-          name="Employees ranges"
-          parent="base.menu_crm_config_lead"
-          sequence="5"/>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/partner_employee_amount/views/crm_lead_view.xml b/partner_employee_amount/views/crm_lead_view.xml
deleted file mode 100644
index 150ad404c..000000000
--- a/partner_employee_amount/views/crm_lead_view.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record model="ir.ui.view" id="crm_case_form_view_leads">
-    <field name="name">Add employees field</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-    <field name="arch" type="xml">
-        <field name="partner_id" position="before">
-            <field name="employees_range" placeholder="Employees range"
-                   options='{"no_open": True}'/>
-            <field name="employees_number"/>
-        </field>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="crm_case_form_view_oppor">
-    <field name="name">Add employees field</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-    <field name="arch" type="xml">
-        <field name="partner_id" position="before">
-            <field name="employees_range" placeholder="Employees range"
-                   options='{"no_open": True}'/>
-            <field name="employees_number"/>
-        </field>
-    </field>
-</record>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/partner_employee_amount/views/res_partner_employee_amount_range_view.xml b/partner_employee_amount/views/res_partner_employee_amount_range_view.xml
new file mode 100644
index 000000000..03d580af9
--- /dev/null
+++ b/partner_employee_amount/views/res_partner_employee_amount_range_view.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data>
+
+<record id="employees_range_action" model="ir.actions.act_window">
+    <field name="name">Ranges by amount of employees</field>
+    <field name="res_model">res.partner.employee_amount_range</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
+
+<record id="employees_range_tree_view" model="ir.ui.view">
+    <field name="name">Amount of employees ranges tree</field>
+    <field name="model">res.partner.employee_amount_range</field>
+    <field name="arch" type="xml">
+        <tree string="Ranges by amount of employees" editable="top">
+            <field name="name"/>
+        </tree>
+    </field>
+</record>
+
+<menuitem action="employees_range_action"
+          id="menu_employees_range"
+          parent="base.menu_config_address_book"/>
+
+</data>
+</openerp>
diff --git a/partner_employee_amount/views/res_partner_view.xml b/partner_employee_amount/views/res_partner_view.xml
index 7d31100a5..133061a2a 100644
--- a/partner_employee_amount/views/res_partner_view.xml
+++ b/partner_employee_amount/views/res_partner_view.xml
@@ -7,13 +7,14 @@
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="employees_range" placeholder="Employees range"
-                   attrs="{'invisible': [('is_company', '=', False)]}"
-                   options='{"no_open": True}'/>
-            <field name="employees_number"
-                   attrs="{'invisible': [('is_company', '=', False)]}"/>
-        </field>
+        <xpath expr="//page[@name='sales_purchases']/group">
+            <group name="employee_amount"
+                   string="Employee amount"
+                   attrs="{'invisible': [('is_company', '=', False)]}">
+                <field name="employee_amount"/>
+                <field name="employee_amount_range_id"/>
+            </group>
+        </xpath>
     </field>
 </record>
 
@@ -23,12 +24,12 @@
     <field name="inherit_id" ref="base.view_res_partner_filter"/>
     <field name="arch" type="xml">
         <filter string="Salesperson" position="after">
-            <filter string="Emplooyees"
+            <filter string="Employees"
                     domain="[('is_company','=', True)]"
-                    context="{'group_by': 'employees_range'}"/>
+                    context="{'group_by': 'employee_amount_range_id'}"/>
         </filter>
     </field>
 </record>
 
 </data>
-</openerp>
\ No newline at end of file
+</openerp>

From b073c336b009f2fd5cc569ba7b8bca633d11ba35 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Fri, 18 Dec 2015 16:52:05 +0100
Subject: [PATCH 24/58] Add currency, fix view, rename capital_country.

---
 partner_capital/models/res_partner.py      |  6 +++++-
 partner_capital/views/res_partner_view.xml | 22 ++++++++++------------
 2 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/partner_capital/models/res_partner.py b/partner_capital/models/res_partner.py
index a32973a69..8adc35fe0 100644
--- a/partner_capital/models/res_partner.py
+++ b/partner_capital/models/res_partner.py
@@ -9,14 +9,18 @@ from openerp import models, fields
 class ResPartner(models.Model):
     _inherit = 'res.partner'
 
-    capital_country = fields.Many2one(
+    capital_country_id = fields.Many2one(
         'res.country',
         "Capital country",
+        oldname="capital_country",
         help="Country of origin of this company's capital.")
     capital_amount = fields.Float(
         "Capital amount",
         oldname="capital_amount",
         help="Publicly registered capital amount.")
+    capital_currency_id = fields.Many2one(
+        "res.currency",
+        string="Capital currency")
     turnover_range_id = fields.Many2one(
         'res.partner.turnover_range',
         "Turnover range",
diff --git a/partner_capital/views/res_partner_view.xml b/partner_capital/views/res_partner_view.xml
index ab192466f..f5683d59f 100644
--- a/partner_capital/views/res_partner_view.xml
+++ b/partner_capital/views/res_partner_view.xml
@@ -11,18 +11,16 @@
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
-        <xpath expr="//page[@name='sales_purchases']" position="inside">
-            <group name="captial" string="Capital">
-                <field name="capital_country"
-                       attrs="{'invisible': [('is_company', '=', False)]}"/>
-                <field name="capital_amount"
-                       attrs="{'invisible': [('is_company', '=', False)]}"/>
-                <field name="turnover_range_id"
-                       attrs="{'invisible': [('is_company', '=', False)]}"/>
-                <field name="turnover_amount"
-                       attrs="{'invisible': [('is_company', '=', False)]}"/>
-                <field name="company_size"
-                       attrs="{'invisible': [('is_company', '=', False)]}"/>
+        <xpath expr="//page[@name='sales_purchases']/group">
+            <group name="captial"
+                   string="Capital"
+                   attrs="{'invisible': [('is_company', '=', False)]}">
+                <field name="capital_country_id"/>
+                <field name="capital_amount"/>
+                <field name="capital_currency_id"/>
+                <field name="turnover_range_id"/>
+                <field name="turnover_amount"/>
+                <field name="company_size"/>
             </group>
         </xpath>
     </field>

From 21f28db1bf581b6e0ba26ef0f9f2730b9e138ac0 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Sat, 21 Feb 2015 20:31:12 +0100
Subject: [PATCH 25/58] Addon crm_job_position

---
 crm_job_position/README.rst                   |  13 +++
 crm_job_position/__init__.py                  |   6 ++
 crm_job_position/__openerp__.py               |  39 ++++++++
 crm_job_position/i18n/crm_job_position.pot    |  90 ++++++++++++++++++
 crm_job_position/i18n/es.po                   |  90 ++++++++++++++++++
 crm_job_position/models/__init__.py           |   8 ++
 crm_job_position/models/crm_job_position.py   |  20 ++++
 crm_job_position/models/crm_lead.py           |  26 +++++
 crm_job_position/models/res_partner.py        |  13 +++
 crm_job_position/static/description/icon.png  | Bin 0 -> 22620 bytes
 .../views/crm_job_position_view.xml           |  30 ++++++
 crm_job_position/views/crm_lead_view.xml      |  86 +++++++++++++++++
 crm_job_position/views/res_partner_view.xml   |  48 ++++++++++
 13 files changed, 469 insertions(+)
 create mode 100644 crm_job_position/README.rst
 create mode 100644 crm_job_position/__init__.py
 create mode 100644 crm_job_position/__openerp__.py
 create mode 100644 crm_job_position/i18n/crm_job_position.pot
 create mode 100644 crm_job_position/i18n/es.po
 create mode 100644 crm_job_position/models/__init__.py
 create mode 100644 crm_job_position/models/crm_job_position.py
 create mode 100644 crm_job_position/models/crm_lead.py
 create mode 100644 crm_job_position/models/res_partner.py
 create mode 100644 crm_job_position/static/description/icon.png
 create mode 100644 crm_job_position/views/crm_job_position_view.xml
 create mode 100644 crm_job_position/views/crm_lead_view.xml
 create mode 100644 crm_job_position/views/res_partner_view.xml

diff --git a/crm_job_position/README.rst b/crm_job_position/README.rst
new file mode 100644
index 000000000..31fbf7ba6
--- /dev/null
+++ b/crm_job_position/README.rst
@@ -0,0 +1,13 @@
+Job positions in CRM
+====================
+
+This module adds the concept of job position to the CRM main objects (lead,
+opportunity, partner), and propagate them through the workflow.
+
+Credits
+=======
+
+Contributors
+------------
+* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+* Antonio Espinosa <antonioea@antiun.com>
diff --git a/crm_job_position/__init__.py b/crm_job_position/__init__.py
new file mode 100644
index 000000000..054c8853d
--- /dev/null
+++ b/crm_job_position/__init__.py
@@ -0,0 +1,6 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import models
diff --git a/crm_job_position/__openerp__.py b/crm_job_position/__openerp__.py
new file mode 100644
index 000000000..311e1d6c4
--- /dev/null
+++ b/crm_job_position/__openerp__.py
@@ -0,0 +1,39 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Odoo Source Management Solution
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.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/>.
+#
+##############################################################################
+
+{
+    'name': 'Job positions in CRM',
+    'version': '1.0',
+    'category': 'Customer Relationship Management',
+    'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
+              'Antiun Ingeniería S.L.',
+    'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
+    'depends': [
+        'crm',
+    ],
+    'data': [
+        'views/crm_job_position_view.xml',
+        'views/crm_lead_view.xml',
+        'views/res_partner_view.xml',
+    ],
+    "installable": True,
+}
diff --git a/crm_job_position/i18n/crm_job_position.pot b/crm_job_position/i18n/crm_job_position.pot
new file mode 100644
index 000000000..620e822d0
--- /dev/null
+++ b/crm_job_position/i18n/crm_job_position.pot
@@ -0,0 +1,90 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_job_position
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-01-24 13:47+0000\n"
+"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_job_position
+#: field:crm.job_position,children:0
+msgid "Children"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,id:0
+msgid "ID"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,name:0
+msgid "Name"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,parent_left:0
+msgid "Parent Left"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,parent_right:0
+msgid "Parent Right"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.job_position,parent_id:0
+msgid "Parent id"
+msgstr ""
+
+#. module: crm_job_position
+#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
+#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
+#: field:crm.lead,job_position:0
+#: model:ir.model,name:crm_job_position.model_crm_job_position
+#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
+#: field:res.partner,job_position:0
+msgid "Job position"
+msgstr ""
+
+#. module: crm_job_position
+#: field:crm.lead,function:0
+#: field:res.partner,function:0
+msgid "Detailed job position"
+msgstr ""
+
+#. module: crm_job_position
+#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
+#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
+#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
+msgid "Job positions"
+msgstr ""
+
diff --git a/crm_job_position/i18n/es.po b/crm_job_position/i18n/es.po
new file mode 100644
index 000000000..9568802e5
--- /dev/null
+++ b/crm_job_position/i18n/es.po
@@ -0,0 +1,90 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_job_position
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-01-24 13:47+0000\n"
+"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_job_position
+#: field:crm.job_position,children:0
+msgid "Children"
+msgstr "Hijos"
+
+#. module: crm_job_position
+#: field:crm.job_position,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: crm_job_position
+#: field:crm.job_position,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: crm_job_position
+#: field:crm.job_position,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: crm_job_position
+#: field:crm.job_position,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: crm_job_position
+#: field:crm.job_position,write_date:0
+msgid "Last Updated on"
+msgstr "Última actualización en"
+
+#. module: crm_job_position
+#: field:crm.job_position,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: crm_job_position
+#: field:crm.job_position,parent_left:0
+msgid "Parent Left"
+msgstr "Padre izquierdo"
+
+#. module: crm_job_position
+#: field:crm.job_position,parent_right:0
+msgid "Parent Right"
+msgstr "Padre derecho"
+
+#. module: crm_job_position
+#: field:crm.job_position,parent_id:0
+msgid "Parent id"
+msgstr "ID del padre"
+
+#. module: crm_job_position
+#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
+#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
+#: field:crm.lead,job_position:0
+#: model:ir.model,name:crm_job_position.model_crm_job_position
+#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
+#: field:res.partner,job_position:0
+msgid "Job position"
+msgstr "Puesto de trabajo"
+
+#. module: crm_job_position
+#: field:crm.lead,function:0
+#: field:res.partner,function:0
+msgid "Detailed job position"
+msgstr "Puesto de trabajo detallado"
+
+#. module: crm_job_position
+#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
+#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
+#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
+msgid "Job positions"
+msgstr "Puestos de trabajo"
+
diff --git a/crm_job_position/models/__init__.py b/crm_job_position/models/__init__.py
new file mode 100644
index 000000000..0ab7c4ce5
--- /dev/null
+++ b/crm_job_position/models/__init__.py
@@ -0,0 +1,8 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import crm_job_position
+from . import crm_lead
+from . import res_partner
diff --git a/crm_job_position/models/crm_job_position.py b/crm_job_position/models/crm_job_position.py
new file mode 100644
index 000000000..665425d51
--- /dev/null
+++ b/crm_job_position/models/crm_job_position.py
@@ -0,0 +1,20 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmJobPosition(models.Model):
+    _name = 'crm.job_position'
+    _order = "parent_left"
+    _parent_order = "name"
+    _parent_store = True
+    _description = "Job position"
+
+    name = fields.Char(required=True)
+    parent_id = fields.Many2one(comodel_name='crm.job_position')
+    children = fields.One2many(comodel_name='crm.job_position',
+                               inverse_name='parent_id')
+    parent_left = fields.Integer('Parent Left', select=True)
+    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_job_position/models/crm_lead.py b/crm_job_position/models/crm_lead.py
new file mode 100644
index 000000000..1fecc91ed
--- /dev/null
+++ b/crm_job_position/models/crm_lead.py
@@ -0,0 +1,26 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmLead(models.Model):
+    _inherit = 'crm.lead'
+
+    function = fields.Char(string="Detailed job position")
+    job_position = fields.Many2one(comodel_name='crm.job_position',
+                                   string="Job position")
+
+    def _lead_create_contact(self, cr, uid, lead, name, is_company,
+                             parent_id=False, context=None):
+        """
+        Propagate job_position to created partner.
+        """
+        partner_id = super(CrmLead, self)._lead_create_contact(
+            cr, uid, lead, name, is_company, parent_id=parent_id,
+            context=context)
+        self.pool['res.partner'].write(
+            cr, uid, partner_id, {'job_position': lead.job_position.id},
+            context=context)
+        return partner_id
diff --git a/crm_job_position/models/res_partner.py b/crm_job_position/models/res_partner.py
new file mode 100644
index 000000000..5a76412d1
--- /dev/null
+++ b/crm_job_position/models/res_partner.py
@@ -0,0 +1,13 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+
+    function = fields.Char(string="Detailed job position")
+    job_position = fields.Many2one(comodel_name='crm.job_position',
+                                   string="Job position")
diff --git a/crm_job_position/static/description/icon.png b/crm_job_position/static/description/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..add81b17a4847ff2663923593ecc364587d3dd9f
GIT binary patch
literal 22620
zcmV*6Ky$x|P)<h;3K|Lk000e1NJLTq004jh004jp1^@s6!#-il00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-vJm4Dh>npTvPx6AOJ~3
zK~#9!?7exMTvv7P``vq=Q*(Fq+^u<RS&}Uw%aV<4AjI(?gTXd42^nq(L<Fpa%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>ATO$06={$X7Y9`hD4(z|;$kEYjXJ+PBDJicxa^$F;nwrA*Laei*Tq<83
zhCy*|ZuU8AObQXQT(kc2b(fvf8U2fk`^yc}x8msacir?i;tWW`o;?0Puc%<3wgGsH
P00000NkvXXu0mjfiBcmQ

literal 0
HcmV?d00001

diff --git a/crm_job_position/views/crm_job_position_view.xml b/crm_job_position/views/crm_job_position_view.xml
new file mode 100644
index 000000000..f5dfce5be
--- /dev/null
+++ b/crm_job_position/views/crm_job_position_view.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record id="crm_job_position_action" model="ir.actions.act_window">
+            <field name="name">Job positions</field>
+            <field name="res_model">crm.job_position</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree</field>
+        </record>
+
+        <record id="crm_job_position_tree_view" model="ir.ui.view">
+            <field name="name">CRM job_position tree</field>
+            <field name="model">crm.job_position</field>
+            <field name="arch" type="xml">
+                <tree string="Job positions" editable="bottom">
+                    <field name="name"/>
+                    <field name="parent_id"/>
+                </tree>
+            </field>
+        </record>
+
+        <menuitem action="crm_job_position_action"
+                  id="menu_crm_job_position"
+                  name="Job positions"
+                  parent="base.menu_crm_config_lead"
+                  sequence="3"/>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_job_position/views/crm_lead_view.xml b/crm_job_position/views/crm_lead_view.xml
new file mode 100644
index 000000000..169fdd48c
--- /dev/null
+++ b/crm_job_position/views/crm_lead_view.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="crm_case_form_view_leads_job_position">
+            <field name="name">CRM - Leads Form with job positions</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+            <field name="arch" type="xml">
+                <field name="function" position="before">
+                    <field name="job_position"/>
+                </field>
+            </field>
+        </record>
+
+        <!-- Uncomment this to add a new column to tree view
+        <record model="ir.ui.view" id="crm_case_tree_view_leads_job_position">
+            <field name="name">Leads with job_position</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
+            <field name="arch" type="xml">
+                <field name="function" position="before">
+                    <field name="job_position"/>
+                </field>
+            </field>
+        </record>
+        -->
+
+        <record model="ir.ui.view" id="view_crm_case_leads_filter_job_position">
+            <field name="name">CRM - Leads Search with job positions</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
+            <field name="arch" type="xml">
+                <field name="section_id" position="after">
+                    <field name="job_position"/>
+                </field>
+                <filter string="Sales Team" position="after">
+                    <filter string="job_position"
+                            domain="[]"
+                            context="{'group_by': 'job_position'}"/>
+                </filter>
+            </field>
+        </record>
+
+        <record model="ir.ui.view" id="crm_case_form_view_oppor_job_position">
+            <field name="name">CRM - Leads Form with job position</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+            <field name="arch" type="xml">
+                <field name="function" position="before">
+                    <field name="job_position"/>
+                </field>
+            </field>
+        </record>
+
+        <!-- Uncomment this to add a new column to tree view
+        <record model="ir.ui.view" id="crm_case_tree_view_oppor_job_position">
+            <field name="name">Leads with job position</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
+            <field name="arch" type="xml">
+                <field name="section_id" position="after">
+                    <field name="job_position"/>
+                </field>
+            </field>
+        </record>
+        -->
+
+        <record model="ir.ui.view" id="view_crm_case_opportunities_filter_job_position">
+            <field name="name">CRM - Leads Search with job positions</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
+            <field name="arch" type="xml">
+                <field name="section_id" position="after">
+                    <field name="job_position"/>
+                </field>
+                <filter string="Sales Team" position="after">
+                    <filter string="Job position"
+                            domain="[]"
+                            context="{'group_by': 'job_position'}"/>
+                </filter>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_job_position/views/res_partner_view.xml b/crm_job_position/views/res_partner_view.xml
new file mode 100644
index 000000000..871411116
--- /dev/null
+++ b/crm_job_position/views/res_partner_view.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="view_partner_form_job_position">
+            <field name="name">Partner form with job position</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_form"/>
+            <field name="arch" type="xml">
+                <field name="function" position="before">
+                    <field name="job_position"
+                           placeholder="Job position"
+                           attrs="{'invisible': [('is_company','=', True)]}"/>
+                </field>
+            </field>
+        </record>
+
+        <!-- Uncomment this to add a new column to tree view
+        <record model="ir.ui.view" id="view_partner_tree_job_position">
+            <field name="name">Partner tree with job position</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_tree"/>
+            <field name="arch" type="xml">
+                <field name="email" position="after">
+                    <field name="job_position"/>
+                </field>
+            </field>
+        </record>
+        -->
+
+        <record model="ir.ui.view" id="view_res_partner_filter_job_position">
+            <field name="name">Partner search with job position</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_res_partner_filter"/>
+            <field name="arch" type="xml">
+                <field name="category_id" position="after">
+                    <field name="job_position"/>
+                </field>
+                <filter string="Salesperson" position="after">
+                    <filter string="Job position"
+                            domain="[]"
+                            context="{'group_by': 'job_position'}"/>
+                </filter>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file

From 8f1f6966ed829796e8260e40463c17e024a81829 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Sat, 21 Feb 2015 20:45:43 +0100
Subject: [PATCH 26/58] Add copyright info

---
 crm_job_position/__openerp__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crm_job_position/__openerp__.py b/crm_job_position/__openerp__.py
index 311e1d6c4..0414e0f9a 100644
--- a/crm_job_position/__openerp__.py
+++ b/crm_job_position/__openerp__.py
@@ -4,6 +4,8 @@
 #    OpenERP, Odoo Source Management Solution
 #    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
 #                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.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

From 40e174bbc44d88c8a7200b218820900ae0392791 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Tue, 3 Mar 2015 15:49:11 +0100
Subject: [PATCH 27/58] CRM Job position access rights

---
 crm_job_position/__openerp__.py               | 1 +
 crm_job_position/security/ir.model.access.csv | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 crm_job_position/security/ir.model.access.csv

diff --git a/crm_job_position/__openerp__.py b/crm_job_position/__openerp__.py
index 0414e0f9a..61227e13c 100644
--- a/crm_job_position/__openerp__.py
+++ b/crm_job_position/__openerp__.py
@@ -36,6 +36,7 @@
         'views/crm_job_position_view.xml',
         'views/crm_lead_view.xml',
         'views/res_partner_view.xml',
+        'security/ir.model.access.csv',
     ],
     "installable": True,
 }
diff --git a/crm_job_position/security/ir.model.access.csv b/crm_job_position/security/ir.model.access.csv
new file mode 100644
index 000000000..bd53556bd
--- /dev/null
+++ b/crm_job_position/security/ir.model.access.csv
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_crm_job_position_public","crm_job_position group_public","model_crm_job_position","base.group_public",1,0,0,0
+"access_crm_job_position_portal","crm_job_position group_portal","model_crm_job_position","base.group_portal",1,0,0,0
+"access_crm_job_position_group_partner_manager","crm_job_position group_partner_manager","model_crm_job_position","base.group_partner_manager",1,1,1,1
+"access_crm_job_position_group_user","crm_job_position group_user","model_crm_job_position","base.group_user",1,0,0,0

From 3b4322b8de8ffdc691f08fbf7f35e6ec5293f41e Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 27 Mar 2015 12:53:53 +0100
Subject: [PATCH 28/58] Set some fields as tranlate

---
 crm_job_position/models/crm_job_position.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_job_position/models/crm_job_position.py b/crm_job_position/models/crm_job_position.py
index 665425d51..e03ba74f4 100644
--- a/crm_job_position/models/crm_job_position.py
+++ b/crm_job_position/models/crm_job_position.py
@@ -12,7 +12,7 @@ class CrmJobPosition(models.Model):
     _parent_store = True
     _description = "Job position"
 
-    name = fields.Char(required=True)
+    name = fields.Char(required=True, translate=True)
     parent_id = fields.Many2one(comodel_name='crm.job_position')
     children = fields.One2many(comodel_name='crm.job_position',
                                inverse_name='parent_id')

From c3d8658ea718c104ac5b0e294ad7d22d1d0455aa Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Wed, 8 Apr 2015 19:34:58 +0200
Subject: [PATCH 29/58] [FIX] XML revised

---
 .../views/crm_job_position_view.xml           |  48 +++---
 crm_job_position/views/crm_lead_view.xml      | 154 +++++++++---------
 crm_job_position/views/res_partner_view.xml   |  84 +++++-----
 3 files changed, 143 insertions(+), 143 deletions(-)

diff --git a/crm_job_position/views/crm_job_position_view.xml b/crm_job_position/views/crm_job_position_view.xml
index f5dfce5be..5fda8727c 100644
--- a/crm_job_position/views/crm_job_position_view.xml
+++ b/crm_job_position/views/crm_job_position_view.xml
@@ -1,30 +1,30 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record id="crm_job_position_action" model="ir.actions.act_window">
-            <field name="name">Job positions</field>
-            <field name="res_model">crm.job_position</field>
-            <field name="view_type">form</field>
-            <field name="view_mode">tree</field>
-        </record>
+<record id="crm_job_position_action" model="ir.actions.act_window">
+    <field name="name">Job positions</field>
+    <field name="res_model">crm.job_position</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
 
-        <record id="crm_job_position_tree_view" model="ir.ui.view">
-            <field name="name">CRM job_position tree</field>
-            <field name="model">crm.job_position</field>
-            <field name="arch" type="xml">
-                <tree string="Job positions" editable="bottom">
-                    <field name="name"/>
-                    <field name="parent_id"/>
-                </tree>
-            </field>
-        </record>
+<record id="crm_job_position_tree_view" model="ir.ui.view">
+    <field name="name">CRM job_position tree</field>
+    <field name="model">crm.job_position</field>
+    <field name="arch" type="xml">
+        <tree string="Job positions" editable="bottom">
+            <field name="name"/>
+            <field name="parent_id"/>
+        </tree>
+    </field>
+</record>
 
-        <menuitem action="crm_job_position_action"
-                  id="menu_crm_job_position"
-                  name="Job positions"
-                  parent="base.menu_crm_config_lead"
-                  sequence="3"/>
+<menuitem action="crm_job_position_action"
+          id="menu_crm_job_position"
+          name="Job positions"
+          parent="base.menu_crm_config_lead"
+          sequence="3"/>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_job_position/views/crm_lead_view.xml b/crm_job_position/views/crm_lead_view.xml
index 169fdd48c..082be11e6 100644
--- a/crm_job_position/views/crm_lead_view.xml
+++ b/crm_job_position/views/crm_lead_view.xml
@@ -1,86 +1,86 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="crm_case_form_view_leads_job_position">
-            <field name="name">CRM - Leads Form with job positions</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-            <field name="arch" type="xml">
-                <field name="function" position="before">
-                    <field name="job_position"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="crm_case_form_view_leads_job_position">
+    <field name="name">CRM - Leads Form with job positions</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+    <field name="arch" type="xml">
+        <field name="function" position="before">
+            <field name="job_position"/>
+        </field>
+    </field>
+</record>
 
-        <!-- Uncomment this to add a new column to tree view
-        <record model="ir.ui.view" id="crm_case_tree_view_leads_job_position">
-            <field name="name">Leads with job_position</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
-            <field name="arch" type="xml">
-                <field name="function" position="before">
-                    <field name="job_position"/>
-                </field>
-            </field>
-        </record>
-        -->
+<!-- Uncomment this to add a new column to tree view
+<record model="ir.ui.view" id="crm_case_tree_view_leads_job_position">
+    <field name="name">Leads with job_position</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
+    <field name="arch" type="xml">
+        <field name="function" position="before">
+            <field name="job_position"/>
+        </field>
+    </field>
+</record>
+-->
 
-        <record model="ir.ui.view" id="view_crm_case_leads_filter_job_position">
-            <field name="name">CRM - Leads Search with job positions</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
-            <field name="arch" type="xml">
-                <field name="section_id" position="after">
-                    <field name="job_position"/>
-                </field>
-                <filter string="Sales Team" position="after">
-                    <filter string="job_position"
-                            domain="[]"
-                            context="{'group_by': 'job_position'}"/>
-                </filter>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_crm_case_leads_filter_job_position">
+    <field name="name">CRM - Leads Search with job positions</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="job_position"/>
+        </field>
+        <filter string="Sales Team" position="after">
+            <filter string="job_position"
+                    domain="[]"
+                    context="{'group_by': 'job_position'}"/>
+        </filter>
+    </field>
+</record>
 
-        <record model="ir.ui.view" id="crm_case_form_view_oppor_job_position">
-            <field name="name">CRM - Leads Form with job position</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-            <field name="arch" type="xml">
-                <field name="function" position="before">
-                    <field name="job_position"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="crm_case_form_view_oppor_job_position">
+    <field name="name">CRM - Leads Form with job position</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+    <field name="arch" type="xml">
+        <field name="function" position="before">
+            <field name="job_position"/>
+        </field>
+    </field>
+</record>
 
-        <!-- Uncomment this to add a new column to tree view
-        <record model="ir.ui.view" id="crm_case_tree_view_oppor_job_position">
-            <field name="name">Leads with job position</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
-            <field name="arch" type="xml">
-                <field name="section_id" position="after">
-                    <field name="job_position"/>
-                </field>
-            </field>
-        </record>
-        -->
+<!-- Uncomment this to add a new column to tree view
+<record model="ir.ui.view" id="crm_case_tree_view_oppor_job_position">
+    <field name="name">Leads with job position</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="job_position"/>
+        </field>
+    </field>
+</record>
+-->
 
-        <record model="ir.ui.view" id="view_crm_case_opportunities_filter_job_position">
-            <field name="name">CRM - Leads Search with job positions</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
-            <field name="arch" type="xml">
-                <field name="section_id" position="after">
-                    <field name="job_position"/>
-                </field>
-                <filter string="Sales Team" position="after">
-                    <filter string="Job position"
-                            domain="[]"
-                            context="{'group_by': 'job_position'}"/>
-                </filter>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_crm_case_opportunities_filter_job_position">
+    <field name="name">CRM - Leads Search with job positions</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="job_position"/>
+        </field>
+        <filter string="Sales Team" position="after">
+            <filter string="Job position"
+                    domain="[]"
+                    context="{'group_by': 'job_position'}"/>
+        </filter>
+    </field>
+</record>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_job_position/views/res_partner_view.xml b/crm_job_position/views/res_partner_view.xml
index 871411116..9c3e26250 100644
--- a/crm_job_position/views/res_partner_view.xml
+++ b/crm_job_position/views/res_partner_view.xml
@@ -1,48 +1,48 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="view_partner_form_job_position">
-            <field name="name">Partner form with job position</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_partner_form"/>
-            <field name="arch" type="xml">
-                <field name="function" position="before">
-                    <field name="job_position"
-                           placeholder="Job position"
-                           attrs="{'invisible': [('is_company','=', True)]}"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_partner_form_job_position">
+    <field name="name">Partner form with job position</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_form"/>
+    <field name="arch" type="xml">
+        <field name="function" position="before">
+            <field name="job_position"
+                   placeholder="Job position"
+                   attrs="{'invisible': [('is_company','=', True)]}"/>
+        </field>
+    </field>
+</record>
 
-        <!-- Uncomment this to add a new column to tree view
-        <record model="ir.ui.view" id="view_partner_tree_job_position">
-            <field name="name">Partner tree with job position</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_partner_tree"/>
-            <field name="arch" type="xml">
-                <field name="email" position="after">
-                    <field name="job_position"/>
-                </field>
-            </field>
-        </record>
-        -->
+<!-- Uncomment this to add a new column to tree view
+<record model="ir.ui.view" id="view_partner_tree_job_position">
+    <field name="name">Partner tree with job position</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_tree"/>
+    <field name="arch" type="xml">
+        <field name="email" position="after">
+            <field name="job_position"/>
+        </field>
+    </field>
+</record>
+-->
 
-        <record model="ir.ui.view" id="view_res_partner_filter_job_position">
-            <field name="name">Partner search with job position</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_res_partner_filter"/>
-            <field name="arch" type="xml">
-                <field name="category_id" position="after">
-                    <field name="job_position"/>
-                </field>
-                <filter string="Salesperson" position="after">
-                    <filter string="Job position"
-                            domain="[]"
-                            context="{'group_by': 'job_position'}"/>
-                </filter>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_res_partner_filter_job_position">
+    <field name="name">Partner search with job position</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_res_partner_filter"/>
+    <field name="arch" type="xml">
+        <field name="category_id" position="after">
+            <field name="job_position"/>
+        </field>
+        <filter string="Salesperson" position="after">
+            <filter string="Job position"
+                    domain="[('is_company','=', True)]"
+                    context="{'group_by': 'job_position'}"/>
+        </filter>
+    </field>
+</record>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file

From 465885833e4c5d2f3c3795c7aef4f72a3f714045 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Thu, 16 Apr 2015 16:32:07 +0200
Subject: [PATCH 30/58] [FIX] View fields review

---
 crm_job_position/views/crm_lead_view.xml    | 6 ++++--
 crm_job_position/views/res_partner_view.xml | 9 ++++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/crm_job_position/views/crm_lead_view.xml b/crm_job_position/views/crm_lead_view.xml
index 082be11e6..0ed1cfd46 100644
--- a/crm_job_position/views/crm_lead_view.xml
+++ b/crm_job_position/views/crm_lead_view.xml
@@ -8,7 +8,8 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
     <field name="arch" type="xml">
         <field name="function" position="before">
-            <field name="job_position"/>
+            <field name="job_position" placeholder="Job position"
+                   options='{"no_open": True}'/>
         </field>
     </field>
 </record>
@@ -48,7 +49,8 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
     <field name="arch" type="xml">
         <field name="function" position="before">
-            <field name="job_position"/>
+            <field name="job_position" placeholder="Job position"
+                   options='{"no_open": True}'/>
         </field>
     </field>
 </record>
diff --git a/crm_job_position/views/res_partner_view.xml b/crm_job_position/views/res_partner_view.xml
index 9c3e26250..21d94f624 100644
--- a/crm_job_position/views/res_partner_view.xml
+++ b/crm_job_position/views/res_partner_view.xml
@@ -10,8 +10,15 @@
         <field name="function" position="before">
             <field name="job_position"
                    placeholder="Job position"
-                   attrs="{'invisible': [('is_company','=', True)]}"/>
+                   attrs="{'invisible': [('is_company','=', True)]}"
+                   options='{"no_open": True}'/>
         </field>
+        <xpath expr="//field[@name='child_ids']/form//field[@name='function']" position="before">
+            <field name="job_position"
+                   placeholder="Job position"
+                   attrs="{'invisible': [('is_company','=', True)]}"
+                   options='{"no_open": True}'/>
+        </xpath>
     </field>
 </record>
 

From 8bf225ad58b069cea9fb5edf51f91c68d42964ee Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 22 May 2015 09:29:19 +0200
Subject: [PATCH 31/58] [FIX] Add new record on top of the list

---
 crm_job_position/views/crm_job_position_view.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_job_position/views/crm_job_position_view.xml b/crm_job_position/views/crm_job_position_view.xml
index 5fda8727c..330890340 100644
--- a/crm_job_position/views/crm_job_position_view.xml
+++ b/crm_job_position/views/crm_job_position_view.xml
@@ -13,7 +13,7 @@
     <field name="name">CRM job_position tree</field>
     <field name="model">crm.job_position</field>
     <field name="arch" type="xml">
-        <tree string="Job positions" editable="bottom">
+        <tree string="Job positions" editable="top">
             <field name="name"/>
             <field name="parent_id"/>
         </tree>

From ae49cbca991952e0a9718baf4dc43d4872aa236f Mon Sep 17 00:00:00 2001
From: Javier Iniesta <javieria@antiun.com>
Date: Wed, 27 May 2015 12:00:23 +0200
Subject: [PATCH 32/58] [IMP] Updated translations

---
 crm_job_position/i18n/crm_job_position.pot | 50 +++++++++++++------
 crm_job_position/i18n/es.po                | 58 +++++++++++++++-------
 2 files changed, 76 insertions(+), 32 deletions(-)

diff --git a/crm_job_position/i18n/crm_job_position.pot b/crm_job_position/i18n/crm_job_position.pot
index 620e822d0..c825139a8 100644
--- a/crm_job_position/i18n/crm_job_position.pot
+++ b/crm_job_position/i18n/crm_job_position.pot
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-01-24 13:47+0000\n"
-"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"POT-Creation-Date: 2015-05-27 09:03+0000\n"
+"PO-Revision-Date: 2015-05-27 09:03+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -35,6 +35,25 @@ msgstr ""
 msgid "ID"
 msgstr ""
 
+#. module: crm_job_position
+#: view:crm.lead:crm_job_position.crm_case_form_view_leads_job_position
+#: view:crm.lead:crm_job_position.crm_case_form_view_oppor_job_position
+#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
+#: field:crm.lead,job_position:0
+#: model:ir.model,name:crm_job_position.model_crm_job_position
+#: view:res.partner:crm_job_position.view_partner_form_job_position
+#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
+#: field:res.partner,job_position:0
+msgid "Job position"
+msgstr ""
+
+#. module: crm_job_position
+#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
+#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
+#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
+msgid "Job positions"
+msgstr ""
+
 #. module: crm_job_position
 #: field:crm.job_position,write_uid:0
 msgid "Last Updated by"
@@ -45,6 +64,11 @@ msgstr ""
 msgid "Last Updated on"
 msgstr ""
 
+#. module: crm_job_position
+#: model:ir.model,name:crm_job_position.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr ""
+
 #. module: crm_job_position
 #: field:crm.job_position,name:0
 msgid "Name"
@@ -65,26 +89,24 @@ msgstr ""
 msgid "Parent id"
 msgstr ""
 
+#. module: crm_job_position
+#: model:ir.model,name:crm_job_position.model_res_partner
+msgid "Partner"
+msgstr ""
+
 #. module: crm_job_position
 #: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
 #: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
-#: field:crm.lead,job_position:0
-#: model:ir.model,name:crm_job_position.model_crm_job_position
-#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
-#: field:res.partner,job_position:0
-msgid "Job position"
+msgid "Sales Team"
 msgstr ""
 
 #. module: crm_job_position
-#: field:crm.lead,function:0
-#: field:res.partner,function:0
-msgid "Detailed job position"
+#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
+msgid "Salesperson"
 msgstr ""
 
 #. module: crm_job_position
-#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
-#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
-#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
-msgid "Job positions"
+#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
+msgid "job_position"
 msgstr ""
 
diff --git a/crm_job_position/i18n/es.po b/crm_job_position/i18n/es.po
index 9568802e5..0adcfeded 100644
--- a/crm_job_position/i18n/es.po
+++ b/crm_job_position/i18n/es.po
@@ -1,13 +1,13 @@
 # Translation of Odoo Server.
 # This file contains the translation of the following modules:
-#	* crm_job_position
+#   * crm_job_position
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-01-24 13:47+0000\n"
-"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"POT-Creation-Date: 2015-05-27 09:03+0000\n"
+"PO-Revision-Date: 2015-05-27 09:03+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -35,6 +35,25 @@ msgstr "Creado en"
 msgid "ID"
 msgstr "ID"
 
+#. module: crm_job_position
+#: view:crm.lead:crm_job_position.crm_case_form_view_leads_job_position
+#: view:crm.lead:crm_job_position.crm_case_form_view_oppor_job_position
+#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
+#: field:crm.lead,job_position:0
+#: model:ir.model,name:crm_job_position.model_crm_job_position
+#: view:res.partner:crm_job_position.view_partner_form_job_position
+#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
+#: field:res.partner,job_position:0
+msgid "Job position"
+msgstr "Puesto de trabajo"
+
+#. module: crm_job_position
+#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
+#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
+#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
+msgid "Job positions"
+msgstr "Puestos de trabajo"
+
 #. module: crm_job_position
 #: field:crm.job_position,write_uid:0
 msgid "Last Updated by"
@@ -45,6 +64,11 @@ msgstr "Última actualización por"
 msgid "Last Updated on"
 msgstr "Última actualización en"
 
+#. module: crm_job_position
+#: model:ir.model,name:crm_job_position.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Iniciativa/Oportunidad"
+
 #. module: crm_job_position
 #: field:crm.job_position,name:0
 msgid "Name"
@@ -65,26 +89,24 @@ msgstr "Padre derecho"
 msgid "Parent id"
 msgstr "ID del padre"
 
+#. module: crm_job_position
+#: model:ir.model,name:crm_job_position.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
 #. module: crm_job_position
 #: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
 #: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
-#: field:crm.lead,job_position:0
-#: model:ir.model,name:crm_job_position.model_crm_job_position
-#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
-#: field:res.partner,job_position:0
-msgid "Job position"
-msgstr "Puesto de trabajo"
+msgid "Sales Team"
+msgstr "Equipo de ventas"
 
 #. module: crm_job_position
-#: field:crm.lead,function:0
-#: field:res.partner,function:0
-msgid "Detailed job position"
-msgstr "Puesto de trabajo detallado"
+#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
+msgid "Salesperson"
+msgstr "Comercial"
 
 #. module: crm_job_position
-#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
-#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
-#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
-msgid "Job positions"
-msgstr "Puestos de trabajo"
+#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
+msgid "job_position"
+msgstr ""
 

From 8327e6c8c316f1d5d1e727116b4a37726dc1ec95 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antespi@gmail.com>
Date: Mon, 16 Nov 2015 11:59:21 +0100
Subject: [PATCH 33/58] Avoid creation of job positions in partner form

---
 crm_job_position/i18n/crm_job_position.pot  |  8 ++++++--
 crm_job_position/i18n/es.po                 | 10 +++++++---
 crm_job_position/views/res_partner_view.xml |  4 ++--
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/crm_job_position/i18n/crm_job_position.pot b/crm_job_position/i18n/crm_job_position.pot
index c825139a8..f8b374a6b 100644
--- a/crm_job_position/i18n/crm_job_position.pot
+++ b/crm_job_position/i18n/crm_job_position.pot
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 09:03+0000\n"
-"PO-Revision-Date: 2015-05-27 09:03+0000\n"
+"POT-Creation-Date: 2015-11-16 10:18+0000\n"
+"PO-Revision-Date: 2015-11-16 10:18+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -110,3 +110,7 @@ msgstr ""
 msgid "job_position"
 msgstr ""
 
+#. module: crm_job_position
+#: field:res.partner,function:0
+msgid "Detailed job position"
+msgstr ""
diff --git a/crm_job_position/i18n/es.po b/crm_job_position/i18n/es.po
index 0adcfeded..40c6d18fc 100644
--- a/crm_job_position/i18n/es.po
+++ b/crm_job_position/i18n/es.po
@@ -1,13 +1,13 @@
 # Translation of Odoo Server.
 # This file contains the translation of the following modules:
-#   * crm_job_position
+#	* crm_job_position
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 09:03+0000\n"
-"PO-Revision-Date: 2015-05-27 09:03+0000\n"
+"POT-Creation-Date: 2015-11-16 10:18+0000\n"
+"PO-Revision-Date: 2015-11-16 10:18+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -110,3 +110,7 @@ msgstr "Comercial"
 msgid "job_position"
 msgstr ""
 
+#. module: crm_job_position
+#: field:res.partner,function:0
+msgid "Detailed job position"
+msgstr "Puesto de trabajo detallado"
diff --git a/crm_job_position/views/res_partner_view.xml b/crm_job_position/views/res_partner_view.xml
index 21d94f624..6ca9186b4 100644
--- a/crm_job_position/views/res_partner_view.xml
+++ b/crm_job_position/views/res_partner_view.xml
@@ -11,13 +11,13 @@
             <field name="job_position"
                    placeholder="Job position"
                    attrs="{'invisible': [('is_company','=', True)]}"
-                   options='{"no_open": True}'/>
+                   options="{'no_open': True, 'no_create': True}"/>
         </field>
         <xpath expr="//field[@name='child_ids']/form//field[@name='function']" position="before">
             <field name="job_position"
                    placeholder="Job position"
                    attrs="{'invisible': [('is_company','=', True)]}"
-                   options='{"no_open": True}'/>
+                   options="{'no_open': True, 'no_create': True}"/>
         </xpath>
     </field>
 </record>

From 0aa91a225a0057ba0be5d860a3f99cf34abcd6d3 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antespi@gmail.com>
Date: Mon, 16 Nov 2015 12:03:35 +0100
Subject: [PATCH 34/58] Update version

---
 crm_job_position/__openerp__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_job_position/__openerp__.py b/crm_job_position/__openerp__.py
index 61227e13c..91c28d451 100644
--- a/crm_job_position/__openerp__.py
+++ b/crm_job_position/__openerp__.py
@@ -24,7 +24,7 @@
 
 {
     'name': 'Job positions in CRM',
-    'version': '1.0',
+    'version': '8.0.1.1.0',
     'category': 'Customer Relationship Management',
     'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
               'Antiun Ingeniería S.L.',

From a77950a3d558364299b4ff38bf82310f31f117ac Mon Sep 17 00:00:00 2001
From: "Pedro M. Baeza" <pedro.baeza@gmail.com>
Date: Tue, 8 Dec 2015 09:32:46 +0100
Subject: [PATCH 35/58] [FIX] Author

---
 crm_job_position/__openerp__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_job_position/__openerp__.py b/crm_job_position/__openerp__.py
index 91c28d451..6fdcdf3a0 100644
--- a/crm_job_position/__openerp__.py
+++ b/crm_job_position/__openerp__.py
@@ -26,7 +26,7 @@
     'name': 'Job positions in CRM',
     'version': '8.0.1.1.0',
     'category': 'Customer Relationship Management',
-    'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
+    'author': 'Serv. Tecnol. Avanzados - Pedro M. Baeza, '
               'Antiun Ingeniería S.L.',
     'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
     'depends': [

From 5f63fd0f00970438db77e79656bff87049a059db Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Fri, 18 Dec 2015 17:46:52 +0100
Subject: [PATCH 36/58] Prepare for OCA:

- Renamed crm_job_position to partner_contact_job_position.
- Drop all CRM dependencies.
- Improve README.
- Add form view.
- Rename one model.
- Rename some fields.
- Reorder module.
- Remove pot.
- Update translation.
- Use new-style short license and copyright headers.
---
 crm_job_position/README.rst                   |  13 --
 crm_job_position/__init__.py                  |   6 -
 crm_job_position/__openerp__.py               |  42 -------
 crm_job_position/i18n/crm_job_position.pot    | 116 ------------------
 crm_job_position/i18n/es.po                   | 116 ------------------
 crm_job_position/models/__init__.py           |   8 --
 crm_job_position/models/crm_job_position.py   |  20 ---
 crm_job_position/models/crm_lead.py           |  26 ----
 crm_job_position/models/res_partner.py        |  13 --
 crm_job_position/security/ir.model.access.csv |   5 -
 .../views/crm_job_position_view.xml           |  30 -----
 crm_job_position/views/crm_lead_view.xml      |  88 -------------
 partner_contact_job_position/README.rst       |  74 +++++++++++
 partner_contact_job_position/__init__.py      |   9 ++
 partner_contact_job_position/__openerp__.py   |  29 +++++
 partner_contact_job_position/i18n/es.po       | 101 +++++++++++++++
 .../models/__init__.py                        |   9 ++
 .../models/res_partner.py                     |  38 ++++++
 .../security/ir.model.access.csv              |   5 +
 .../static/description/icon.png               | Bin
 .../views/res_partner_job_position_view.xml   |  42 +++++++
 .../views/res_partner_view.xml                |  32 ++---
 22 files changed, 316 insertions(+), 506 deletions(-)
 delete mode 100644 crm_job_position/README.rst
 delete mode 100644 crm_job_position/__init__.py
 delete mode 100644 crm_job_position/__openerp__.py
 delete mode 100644 crm_job_position/i18n/crm_job_position.pot
 delete mode 100644 crm_job_position/i18n/es.po
 delete mode 100644 crm_job_position/models/__init__.py
 delete mode 100644 crm_job_position/models/crm_job_position.py
 delete mode 100644 crm_job_position/models/crm_lead.py
 delete mode 100644 crm_job_position/models/res_partner.py
 delete mode 100644 crm_job_position/security/ir.model.access.csv
 delete mode 100644 crm_job_position/views/crm_job_position_view.xml
 delete mode 100644 crm_job_position/views/crm_lead_view.xml
 create mode 100644 partner_contact_job_position/README.rst
 create mode 100644 partner_contact_job_position/__init__.py
 create mode 100644 partner_contact_job_position/__openerp__.py
 create mode 100644 partner_contact_job_position/i18n/es.po
 create mode 100644 partner_contact_job_position/models/__init__.py
 create mode 100644 partner_contact_job_position/models/res_partner.py
 create mode 100644 partner_contact_job_position/security/ir.model.access.csv
 rename {crm_job_position => partner_contact_job_position}/static/description/icon.png (100%)
 create mode 100644 partner_contact_job_position/views/res_partner_job_position_view.xml
 rename {crm_job_position => partner_contact_job_position}/views/res_partner_view.xml (56%)

diff --git a/crm_job_position/README.rst b/crm_job_position/README.rst
deleted file mode 100644
index 31fbf7ba6..000000000
--- a/crm_job_position/README.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-Job positions in CRM
-====================
-
-This module adds the concept of job position to the CRM main objects (lead,
-opportunity, partner), and propagate them through the workflow.
-
-Credits
-=======
-
-Contributors
-------------
-* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
-* Antonio Espinosa <antonioea@antiun.com>
diff --git a/crm_job_position/__init__.py b/crm_job_position/__init__.py
deleted file mode 100644
index 054c8853d..000000000
--- a/crm_job_position/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-
-from . import models
diff --git a/crm_job_position/__openerp__.py b/crm_job_position/__openerp__.py
deleted file mode 100644
index 6fdcdf3a0..000000000
--- a/crm_job_position/__openerp__.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-#    OpenERP, Odoo Source Management Solution
-#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
-#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.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/>.
-#
-##############################################################################
-
-{
-    'name': 'Job positions in CRM',
-    'version': '8.0.1.1.0',
-    'category': 'Customer Relationship Management',
-    'author': 'Serv. Tecnol. Avanzados - Pedro M. Baeza, '
-              'Antiun Ingeniería S.L.',
-    'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
-    'depends': [
-        'crm',
-    ],
-    'data': [
-        'views/crm_job_position_view.xml',
-        'views/crm_lead_view.xml',
-        'views/res_partner_view.xml',
-        'security/ir.model.access.csv',
-    ],
-    "installable": True,
-}
diff --git a/crm_job_position/i18n/crm_job_position.pot b/crm_job_position/i18n/crm_job_position.pot
deleted file mode 100644
index f8b374a6b..000000000
--- a/crm_job_position/i18n/crm_job_position.pot
+++ /dev/null
@@ -1,116 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#	* crm_job_position
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-11-16 10:18+0000\n"
-"PO-Revision-Date: 2015-11-16 10:18+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_job_position
-#: field:crm.job_position,children:0
-msgid "Children"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,create_uid:0
-msgid "Created by"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,create_date:0
-msgid "Created on"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,id:0
-msgid "ID"
-msgstr ""
-
-#. module: crm_job_position
-#: view:crm.lead:crm_job_position.crm_case_form_view_leads_job_position
-#: view:crm.lead:crm_job_position.crm_case_form_view_oppor_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
-#: field:crm.lead,job_position:0
-#: model:ir.model,name:crm_job_position.model_crm_job_position
-#: view:res.partner:crm_job_position.view_partner_form_job_position
-#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
-#: field:res.partner,job_position:0
-msgid "Job position"
-msgstr ""
-
-#. module: crm_job_position
-#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
-#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
-#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
-msgid "Job positions"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,write_uid:0
-msgid "Last Updated by"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,write_date:0
-msgid "Last Updated on"
-msgstr ""
-
-#. module: crm_job_position
-#: model:ir.model,name:crm_job_position.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,name:0
-msgid "Name"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,parent_left:0
-msgid "Parent Left"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,parent_right:0
-msgid "Parent Right"
-msgstr ""
-
-#. module: crm_job_position
-#: field:crm.job_position,parent_id:0
-msgid "Parent id"
-msgstr ""
-
-#. module: crm_job_position
-#: model:ir.model,name:crm_job_position.model_res_partner
-msgid "Partner"
-msgstr ""
-
-#. module: crm_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
-msgid "Sales Team"
-msgstr ""
-
-#. module: crm_job_position
-#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
-msgid "Salesperson"
-msgstr ""
-
-#. module: crm_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
-msgid "job_position"
-msgstr ""
-
-#. module: crm_job_position
-#: field:res.partner,function:0
-msgid "Detailed job position"
-msgstr ""
diff --git a/crm_job_position/i18n/es.po b/crm_job_position/i18n/es.po
deleted file mode 100644
index 40c6d18fc..000000000
--- a/crm_job_position/i18n/es.po
+++ /dev/null
@@ -1,116 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#	* crm_job_position
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-11-16 10:18+0000\n"
-"PO-Revision-Date: 2015-11-16 10:18+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_job_position
-#: field:crm.job_position,children:0
-msgid "Children"
-msgstr "Hijos"
-
-#. module: crm_job_position
-#: field:crm.job_position,create_uid:0
-msgid "Created by"
-msgstr "Creado por"
-
-#. module: crm_job_position
-#: field:crm.job_position,create_date:0
-msgid "Created on"
-msgstr "Creado en"
-
-#. module: crm_job_position
-#: field:crm.job_position,id:0
-msgid "ID"
-msgstr "ID"
-
-#. module: crm_job_position
-#: view:crm.lead:crm_job_position.crm_case_form_view_leads_job_position
-#: view:crm.lead:crm_job_position.crm_case_form_view_oppor_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
-#: field:crm.lead,job_position:0
-#: model:ir.model,name:crm_job_position.model_crm_job_position
-#: view:res.partner:crm_job_position.view_partner_form_job_position
-#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
-#: field:res.partner,job_position:0
-msgid "Job position"
-msgstr "Puesto de trabajo"
-
-#. module: crm_job_position
-#: view:crm.job_position:crm_job_position.crm_job_position_tree_view
-#: model:ir.actions.act_window,name:crm_job_position.crm_job_position_action
-#: model:ir.ui.menu,name:crm_job_position.menu_crm_job_position
-msgid "Job positions"
-msgstr "Puestos de trabajo"
-
-#. module: crm_job_position
-#: field:crm.job_position,write_uid:0
-msgid "Last Updated by"
-msgstr "Última actualización por"
-
-#. module: crm_job_position
-#: field:crm.job_position,write_date:0
-msgid "Last Updated on"
-msgstr "Última actualización en"
-
-#. module: crm_job_position
-#: model:ir.model,name:crm_job_position.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr "Iniciativa/Oportunidad"
-
-#. module: crm_job_position
-#: field:crm.job_position,name:0
-msgid "Name"
-msgstr "Nombre"
-
-#. module: crm_job_position
-#: field:crm.job_position,parent_left:0
-msgid "Parent Left"
-msgstr "Padre izquierdo"
-
-#. module: crm_job_position
-#: field:crm.job_position,parent_right:0
-msgid "Parent Right"
-msgstr "Padre derecho"
-
-#. module: crm_job_position
-#: field:crm.job_position,parent_id:0
-msgid "Parent id"
-msgstr "ID del padre"
-
-#. module: crm_job_position
-#: model:ir.model,name:crm_job_position.model_res_partner
-msgid "Partner"
-msgstr "Empresa"
-
-#. module: crm_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_opportunities_filter_job_position
-msgid "Sales Team"
-msgstr "Equipo de ventas"
-
-#. module: crm_job_position
-#: view:res.partner:crm_job_position.view_res_partner_filter_job_position
-msgid "Salesperson"
-msgstr "Comercial"
-
-#. module: crm_job_position
-#: view:crm.lead:crm_job_position.view_crm_case_leads_filter_job_position
-msgid "job_position"
-msgstr ""
-
-#. module: crm_job_position
-#: field:res.partner,function:0
-msgid "Detailed job position"
-msgstr "Puesto de trabajo detallado"
diff --git a/crm_job_position/models/__init__.py b/crm_job_position/models/__init__.py
deleted file mode 100644
index 0ab7c4ce5..000000000
--- a/crm_job_position/models/__init__.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-
-from . import crm_job_position
-from . import crm_lead
-from . import res_partner
diff --git a/crm_job_position/models/crm_job_position.py b/crm_job_position/models/crm_job_position.py
deleted file mode 100644
index e03ba74f4..000000000
--- a/crm_job_position/models/crm_job_position.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmJobPosition(models.Model):
-    _name = 'crm.job_position'
-    _order = "parent_left"
-    _parent_order = "name"
-    _parent_store = True
-    _description = "Job position"
-
-    name = fields.Char(required=True, translate=True)
-    parent_id = fields.Many2one(comodel_name='crm.job_position')
-    children = fields.One2many(comodel_name='crm.job_position',
-                               inverse_name='parent_id')
-    parent_left = fields.Integer('Parent Left', select=True)
-    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_job_position/models/crm_lead.py b/crm_job_position/models/crm_lead.py
deleted file mode 100644
index 1fecc91ed..000000000
--- a/crm_job_position/models/crm_lead.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmLead(models.Model):
-    _inherit = 'crm.lead'
-
-    function = fields.Char(string="Detailed job position")
-    job_position = fields.Many2one(comodel_name='crm.job_position',
-                                   string="Job position")
-
-    def _lead_create_contact(self, cr, uid, lead, name, is_company,
-                             parent_id=False, context=None):
-        """
-        Propagate job_position to created partner.
-        """
-        partner_id = super(CrmLead, self)._lead_create_contact(
-            cr, uid, lead, name, is_company, parent_id=parent_id,
-            context=context)
-        self.pool['res.partner'].write(
-            cr, uid, partner_id, {'job_position': lead.job_position.id},
-            context=context)
-        return partner_id
diff --git a/crm_job_position/models/res_partner.py b/crm_job_position/models/res_partner.py
deleted file mode 100644
index 5a76412d1..000000000
--- a/crm_job_position/models/res_partner.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class ResPartner(models.Model):
-    _inherit = 'res.partner'
-
-    function = fields.Char(string="Detailed job position")
-    job_position = fields.Many2one(comodel_name='crm.job_position',
-                                   string="Job position")
diff --git a/crm_job_position/security/ir.model.access.csv b/crm_job_position/security/ir.model.access.csv
deleted file mode 100644
index bd53556bd..000000000
--- a/crm_job_position/security/ir.model.access.csv
+++ /dev/null
@@ -1,5 +0,0 @@
-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_crm_job_position_public","crm_job_position group_public","model_crm_job_position","base.group_public",1,0,0,0
-"access_crm_job_position_portal","crm_job_position group_portal","model_crm_job_position","base.group_portal",1,0,0,0
-"access_crm_job_position_group_partner_manager","crm_job_position group_partner_manager","model_crm_job_position","base.group_partner_manager",1,1,1,1
-"access_crm_job_position_group_user","crm_job_position group_user","model_crm_job_position","base.group_user",1,0,0,0
diff --git a/crm_job_position/views/crm_job_position_view.xml b/crm_job_position/views/crm_job_position_view.xml
deleted file mode 100644
index 330890340..000000000
--- a/crm_job_position/views/crm_job_position_view.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record id="crm_job_position_action" model="ir.actions.act_window">
-    <field name="name">Job positions</field>
-    <field name="res_model">crm.job_position</field>
-    <field name="view_type">form</field>
-    <field name="view_mode">tree</field>
-</record>
-
-<record id="crm_job_position_tree_view" model="ir.ui.view">
-    <field name="name">CRM job_position tree</field>
-    <field name="model">crm.job_position</field>
-    <field name="arch" type="xml">
-        <tree string="Job positions" editable="top">
-            <field name="name"/>
-            <field name="parent_id"/>
-        </tree>
-    </field>
-</record>
-
-<menuitem action="crm_job_position_action"
-          id="menu_crm_job_position"
-          name="Job positions"
-          parent="base.menu_crm_config_lead"
-          sequence="3"/>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/crm_job_position/views/crm_lead_view.xml b/crm_job_position/views/crm_lead_view.xml
deleted file mode 100644
index 0ed1cfd46..000000000
--- a/crm_job_position/views/crm_lead_view.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record model="ir.ui.view" id="crm_case_form_view_leads_job_position">
-    <field name="name">CRM - Leads Form with job positions</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-    <field name="arch" type="xml">
-        <field name="function" position="before">
-            <field name="job_position" placeholder="Job position"
-                   options='{"no_open": True}'/>
-        </field>
-    </field>
-</record>
-
-<!-- Uncomment this to add a new column to tree view
-<record model="ir.ui.view" id="crm_case_tree_view_leads_job_position">
-    <field name="name">Leads with job_position</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
-    <field name="arch" type="xml">
-        <field name="function" position="before">
-            <field name="job_position"/>
-        </field>
-    </field>
-</record>
--->
-
-<record model="ir.ui.view" id="view_crm_case_leads_filter_job_position">
-    <field name="name">CRM - Leads Search with job positions</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="job_position"/>
-        </field>
-        <filter string="Sales Team" position="after">
-            <filter string="job_position"
-                    domain="[]"
-                    context="{'group_by': 'job_position'}"/>
-        </filter>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="crm_case_form_view_oppor_job_position">
-    <field name="name">CRM - Leads Form with job position</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-    <field name="arch" type="xml">
-        <field name="function" position="before">
-            <field name="job_position" placeholder="Job position"
-                   options='{"no_open": True}'/>
-        </field>
-    </field>
-</record>
-
-<!-- Uncomment this to add a new column to tree view
-<record model="ir.ui.view" id="crm_case_tree_view_oppor_job_position">
-    <field name="name">Leads with job position</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="job_position"/>
-        </field>
-    </field>
-</record>
--->
-
-<record model="ir.ui.view" id="view_crm_case_opportunities_filter_job_position">
-    <field name="name">CRM - Leads Search with job positions</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="job_position"/>
-        </field>
-        <filter string="Sales Team" position="after">
-            <filter string="Job position"
-                    domain="[]"
-                    context="{'group_by': 'job_position'}"/>
-        </filter>
-    </field>
-</record>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/partner_contact_job_position/README.rst b/partner_contact_job_position/README.rst
new file mode 100644
index 000000000..00f2706d0
--- /dev/null
+++ b/partner_contact_job_position/README.rst
@@ -0,0 +1,74 @@
+.. 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
+
+====================
+Partner job position
+====================
+
+This module extends the functionality of partners job position to support
+having them categorized in tree form and allow you to choose a categorized job
+position for your contacts in addition to the current custom string for job
+position.
+
+Configuration
+=============
+
+To configure job positions, you need to:
+
+* Go to *Sales > Configuration > Address Book > Job Positions*.
+
+Usage
+=====
+
+To use this module, you need to:
+
+* Go to any partner's form.
+* Use the new *Categorized job position* field.
+
+.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
+   :alt: Try me on Runbot
+   :target: https://runbot.odoo-community.org/runbot/134/8.0
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues
+<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
+check there if your issue has already been reported. If you spotted it first,
+help us smashing it by providing a detailed and welcomed `feedback
+<https://github.com/OCA/
+partner-contact/issues/new?body=module:%20
+{module_name}%0Aversion:%20
+8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
+
+Credits
+=======
+
+Images
+------
+
+* `Antiun Ingeniería S.L. <http://www.antiun.com>`_: Icon.
+
+Contributors
+------------
+
+* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+* Antonio Espinosa <antonioea@antiun.com>
+* Rafael Blasco <rafabn@antiun.com>
+* Jairo Llopis <yajo.sk8@gmail.com>
+
+Maintainer
+----------
+
+.. image:: https://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: https://odoo-community.org
+
+This module is maintained by the OCA.
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+To contribute to this module, please visit https://odoo-community.org.
diff --git a/partner_contact_job_position/__init__.py b/partner_contact_job_position/__init__.py
new file mode 100644
index 000000000..9af8488e4
--- /dev/null
+++ b/partner_contact_job_position/__init__.py
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+from . import models
diff --git a/partner_contact_job_position/__openerp__.py b/partner_contact_job_position/__openerp__.py
new file mode 100644
index 000000000..3e4521aad
--- /dev/null
+++ b/partner_contact_job_position/__openerp__.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+{
+    "name": "Partner job position",
+    "summary": "Categorize job positions for contacts",
+    "version": "8.0.1.0.0",
+    'category': 'Customer Relationship Management',
+    "website": "http://www.antiun.com",
+    'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
+              'Antiun Ingeniería S.L., '
+              "Odoo Community Association (OCA)",
+    "license": "AGPL-3",
+    "application": False,
+    "installable": True,
+    "depends": [
+        "base",
+    ],
+    "data": [
+        'security/ir.model.access.csv',
+        'views/res_partner_job_position_view.xml',
+        'views/res_partner_view.xml',
+    ],
+}
diff --git a/partner_contact_job_position/i18n/es.po b/partner_contact_job_position/i18n/es.po
new file mode 100644
index 000000000..93f2409ab
--- /dev/null
+++ b/partner_contact_job_position/i18n/es.po
@@ -0,0 +1,101 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#   * crm_job_position
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-12-18 18:22+0100\n"
+"PO-Revision-Date: 2015-12-18 18:22+0100\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Poedit 1.8.5\n"
+
+#. module: partner_contact_job_position
+#: field:res.partner,job_position_id:0
+msgid "Categorized job position"
+msgstr "Puesto de trabajo categorizado"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,child_ids:0
+msgid "Children"
+msgstr "Hijos"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: partner_contact_job_position
+#: model:ir.actions.act_window,name:partner_contact_job_position.res_partner_job_position_action
+#: model:ir.ui.menu,name:partner_contact_job_position.menu_res_partner_job_position
+msgid "Job Positions"
+msgstr "Puestos de trabajo"
+
+#. module: partner_contact_job_position
+#: model:ir.model,name:partner_contact_job_position.model_res_partner_job_position
+#: view:res.partner:partner_contact_job_position.view_res_partner_filter_job_position
+msgid "Job position"
+msgstr "Puesto de trabajo"
+
+#. module: partner_contact_job_position
+#: view:res.partner.job_position:partner_contact_job_position.res_partner_job_position_form_view
+#: view:res.partner.job_position:partner_contact_job_position.res_partner_job_position_tree_view
+msgid "Job positions"
+msgstr "Puestos de trabajo"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,write_date:0
+msgid "Last Updated on"
+msgstr "Última actualización en"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,parent_id:0
+msgid "Parent"
+msgstr "Padre"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,parent_left:0
+msgid "Parent left"
+msgstr "Padre izquierdo"
+
+#. module: partner_contact_job_position
+#: field:res.partner.job_position,parent_right:0
+msgid "Parent right"
+msgstr "Padre derecho"
+
+#. module: partner_contact_job_position
+#: model:ir.model,name:partner_contact_job_position.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: partner_contact_job_position
+#: view:res.partner:partner_contact_job_position.view_res_partner_filter_job_position
+msgid "Salesperson"
+msgstr "Comercial"
diff --git a/partner_contact_job_position/models/__init__.py b/partner_contact_job_position/models/__init__.py
new file mode 100644
index 000000000..213b25fdc
--- /dev/null
+++ b/partner_contact_job_position/models/__init__.py
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+from . import res_partner
diff --git a/partner_contact_job_position/models/res_partner.py b/partner_contact_job_position/models/res_partner.py
new file mode 100644
index 000000000..abb6863fa
--- /dev/null
+++ b/partner_contact_job_position/models/res_partner.py
@@ -0,0 +1,38 @@
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+from openerp import models, fields
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+
+    job_position_id = fields.Many2one(
+        "res.partner.job_position",
+        "Categorized job position",
+        oldname="job_position")
+
+
+class ResPartnerJobPosition(models.Model):
+    _name = "res.partner.job_position"
+    _order = "parent_left"
+    _parent_order = "name"
+    _parent_store = True
+    _description = "Job position"
+
+    name = fields.Char(required=True, translate=True)
+    parent_id = fields.Many2one(
+        "res.partner.job_position",
+        "Parent")
+    child_ids = fields.One2many(
+        "res.partner.job_position",
+        "parent_id",
+        "Children",
+        oldname="children")
+    parent_left = fields.Integer(index=True)
+    parent_right = fields.Integer(index=True)
diff --git a/partner_contact_job_position/security/ir.model.access.csv b/partner_contact_job_position/security/ir.model.access.csv
new file mode 100644
index 000000000..93930fc92
--- /dev/null
+++ b/partner_contact_job_position/security/ir.model.access.csv
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_res_partner_job_position_public","res_partner_job_position group_public","model_res_partner_job_position","base.group_public",1,0,0,0
+"access_res_partner_job_position_portal","res_partner_job_position group_portal","model_res_partner_job_position","base.group_portal",1,0,0,0
+"access_res_partner_job_position_group_partner_manager","res_partner_job_position group_partner_manager","model_res_partner_job_position","base.group_partner_manager",1,1,1,1
+"access_res_partner_job_position_group_user","res_partner_job_position group_user","model_res_partner_job_position","base.group_user",1,0,0,0
diff --git a/crm_job_position/static/description/icon.png b/partner_contact_job_position/static/description/icon.png
similarity index 100%
rename from crm_job_position/static/description/icon.png
rename to partner_contact_job_position/static/description/icon.png
diff --git a/partner_contact_job_position/views/res_partner_job_position_view.xml b/partner_contact_job_position/views/res_partner_job_position_view.xml
new file mode 100644
index 000000000..e70b45a91
--- /dev/null
+++ b/partner_contact_job_position/views/res_partner_job_position_view.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data>
+
+<record id="res_partner_job_position_action" model="ir.actions.act_window">
+    <field name="name">Job Positions</field>
+    <field name="res_model">res.partner.job_position</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
+
+<record id="res_partner_job_position_tree_view" model="ir.ui.view">
+    <field name="name">Job position tree</field>
+    <field name="model">res.partner.job_position</field>
+    <field name="arch" type="xml">
+        <tree string="Job positions" editable="top">
+            <field name="name"/>
+            <field name="parent_id"/>
+        </tree>
+    </field>
+</record>
+
+<record id="res_partner_job_position_form_view" model="ir.ui.view">
+    <field name="name">Job position form</field>
+    <field name="model">res.partner.job_position</field>
+    <field name="arch" type="xml">
+        <form string="Job positions">
+            <group>
+                <field name="name"/>
+                <field name="parent_id"/>
+                <field name="child_ids"/>
+            </group>
+        </form>
+    </field>
+</record>
+
+<menuitem action="res_partner_job_position_action"
+          id="menu_res_partner_job_position"
+          parent="base.menu_config_address_book"/>
+
+</data>
+</openerp>
diff --git a/crm_job_position/views/res_partner_view.xml b/partner_contact_job_position/views/res_partner_view.xml
similarity index 56%
rename from crm_job_position/views/res_partner_view.xml
rename to partner_contact_job_position/views/res_partner_view.xml
index 6ca9186b4..f1a2a0e45 100644
--- a/crm_job_position/views/res_partner_view.xml
+++ b/partner_contact_job_position/views/res_partner_view.xml
@@ -8,48 +8,34 @@
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
         <field name="function" position="before">
-            <field name="job_position"
-                   placeholder="Job position"
+            <field name="job_position_id"
                    attrs="{'invisible': [('is_company','=', True)]}"
-                   options="{'no_open': True, 'no_create': True}"/>
+                   options='{"no_open": True}'/>
         </field>
-        <xpath expr="//field[@name='child_ids']/form//field[@name='function']" position="before">
-            <field name="job_position"
-                   placeholder="Job position"
+        <xpath expr="//field[@name='child_ids']/form//field[@name='function']"
+               position="before">
+            <field name="job_position_id"
                    attrs="{'invisible': [('is_company','=', True)]}"
-                   options="{'no_open': True, 'no_create': True}"/>
+                   options='{"no_open": True}'/>
         </xpath>
     </field>
 </record>
 
-<!-- Uncomment this to add a new column to tree view
-<record model="ir.ui.view" id="view_partner_tree_job_position">
-    <field name="name">Partner tree with job position</field>
-    <field name="model">res.partner</field>
-    <field name="inherit_id" ref="base.view_partner_tree"/>
-    <field name="arch" type="xml">
-        <field name="email" position="after">
-            <field name="job_position"/>
-        </field>
-    </field>
-</record>
--->
-
 <record model="ir.ui.view" id="view_res_partner_filter_job_position">
     <field name="name">Partner search with job position</field>
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_res_partner_filter"/>
     <field name="arch" type="xml">
         <field name="category_id" position="after">
-            <field name="job_position"/>
+            <field name="job_position_id"/>
         </field>
         <filter string="Salesperson" position="after">
             <filter string="Job position"
                     domain="[('is_company','=', True)]"
-                    context="{'group_by': 'job_position'}"/>
+                    context="{'group_by': 'job_position_id'}"/>
         </filter>
     </field>
 </record>
 
 </data>
-</openerp>
\ No newline at end of file
+</openerp>

From ec4f87786701c384fc0090cedce20b49ae0604ef Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Mon, 21 Dec 2015 15:41:15 +0100
Subject: [PATCH 37/58] Clean migration remainders.

---
 partner_capital/models/res_partner.py                     | 2 +-
 partner_capital/views/res_partner_turnover_range_view.xml | 4 +---
 partner_capital/views/res_partner_view.xml                | 4 ++--
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/partner_capital/models/res_partner.py b/partner_capital/models/res_partner.py
index 8adc35fe0..746a7e035 100644
--- a/partner_capital/models/res_partner.py
+++ b/partner_capital/models/res_partner.py
@@ -16,7 +16,7 @@ class ResPartner(models.Model):
         help="Country of origin of this company's capital.")
     capital_amount = fields.Float(
         "Capital amount",
-        oldname="capital_amount",
+        oldname="capital_registered",
         help="Publicly registered capital amount.")
     capital_currency_id = fields.Many2one(
         "res.currency",
diff --git a/partner_capital/views/res_partner_turnover_range_view.xml b/partner_capital/views/res_partner_turnover_range_view.xml
index ad9d32622..a5dd70af5 100644
--- a/partner_capital/views/res_partner_turnover_range_view.xml
+++ b/partner_capital/views/res_partner_turnover_range_view.xml
@@ -25,9 +25,7 @@
 
 <menuitem action="res_partner_turnover_range_action"
           id="menu_res_partner_turnover_range"
-          name="Turnover ranges"
-          parent="base.menu_config_address_book"
-          sequence="5"/>
+          parent="base.menu_config_address_book"/>
 
 </data>
 </openerp>
diff --git a/partner_capital/views/res_partner_view.xml b/partner_capital/views/res_partner_view.xml
index f5683d59f..3eadeff25 100644
--- a/partner_capital/views/res_partner_view.xml
+++ b/partner_capital/views/res_partner_view.xml
@@ -34,10 +34,10 @@
         <filter string="Salesperson" position="after">
             <filter string="Capital country"
                     domain="[('is_company', '=', True)]"
-                    context="{'group_by': 'capital_country'}"/>
+                    context="{'group_by': 'capital_country_id'}"/>
             <filter string="Turnover"
                     domain="[('is_company', '=', True)]"
-                    context="{'group_by': 'turnover_number'}"/>
+                    context="{'group_by': 'turnover_range_id'}"/>
             <filter string="Company size"
                     domain="[('is_company', '=', True)]"
                     context="{'group_by': 'company_size'}"/>

From 767ae1225876774b32dfe1310dcec928d5acdfb7 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Mon, 21 Dec 2015 15:41:27 +0100
Subject: [PATCH 38/58] Resort view.

---
 partner_capital/views/res_partner_view.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/partner_capital/views/res_partner_view.xml b/partner_capital/views/res_partner_view.xml
index 3eadeff25..e5a5b6c85 100644
--- a/partner_capital/views/res_partner_view.xml
+++ b/partner_capital/views/res_partner_view.xml
@@ -15,11 +15,11 @@
             <group name="captial"
                    string="Capital"
                    attrs="{'invisible': [('is_company', '=', False)]}">
-                <field name="capital_country_id"/>
                 <field name="capital_amount"/>
                 <field name="capital_currency_id"/>
-                <field name="turnover_range_id"/>
+                <field name="capital_country_id"/>
                 <field name="turnover_amount"/>
+                <field name="turnover_range_id"/>
                 <field name="company_size"/>
             </group>
         </xpath>

From 136d24591011dbfb3ab6f19621f224199d81e412 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Mon, 21 Dec 2015 16:09:33 +0100
Subject: [PATCH 39/58] Rename to partner_employee_quantity.

---
 partner_employee_amount/i18n/es.po            |  90 -----------------
 .../security/ir.model.access.csv              |   5 -
 .../README.rst                                |  16 +--
 .../__init__.py                               |   0
 .../__openerp__.py                            |   4 +-
 partner_employee_quantity/i18n/es.po          |  91 ++++++++++++++++++
 .../models/__init__.py                        |   0
 .../models/res_partner.py                     |  16 +--
 .../security/ir.model.access.csv              |   5 +
 .../static/description/icon.png               | Bin
 ...s_partner_employee_quantity_range_view.xml |  10 +-
 .../views/res_partner_view.xml                |  12 +--
 12 files changed, 125 insertions(+), 124 deletions(-)
 delete mode 100644 partner_employee_amount/i18n/es.po
 delete mode 100644 partner_employee_amount/security/ir.model.access.csv
 rename {partner_employee_amount => partner_employee_quantity}/README.rst (82%)
 rename {partner_employee_amount => partner_employee_quantity}/__init__.py (100%)
 rename {partner_employee_amount => partner_employee_quantity}/__openerp__.py (84%)
 create mode 100644 partner_employee_quantity/i18n/es.po
 rename {partner_employee_amount => partner_employee_quantity}/models/__init__.py (100%)
 rename {partner_employee_amount => partner_employee_quantity}/models/res_partner.py (51%)
 create mode 100644 partner_employee_quantity/security/ir.model.access.csv
 rename {partner_employee_amount => partner_employee_quantity}/static/description/icon.png (100%)
 rename partner_employee_amount/views/res_partner_employee_amount_range_view.xml => partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml (61%)
 rename {partner_employee_amount => partner_employee_quantity}/views/res_partner_view.xml (74%)

diff --git a/partner_employee_amount/i18n/es.po b/partner_employee_amount/i18n/es.po
deleted file mode 100644
index b0d153863..000000000
--- a/partner_employee_amount/i18n/es.po
+++ /dev/null
@@ -1,90 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#   * crm_employees
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 08:57+0000\n"
-"PO-Revision-Date: 2015-05-27 08:57+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_employees
-#: field:crm.employees_range,create_uid:0
-msgid "Created by"
-msgstr "Creado por"
-
-#. module: crm_employees
-#: field:crm.employees_range,create_date:0
-msgid "Created on"
-msgstr "Creado en"
-
-#. module: crm_employees
-#: view:res.partner:crm_employees.view_res_partner_filter_employees
-msgid "Emplooyees"
-msgstr "Empleados"
-
-#. module: crm_employees
-#: field:crm.lead,employees_number:0
-#: field:res.partner,employees_number:0
-msgid "Employees number"
-msgstr "Número de empleados"
-
-#. module: crm_employees
-#: view:crm.lead:crm_employees.crm_case_form_view_leads_employees
-#: view:crm.lead:crm_employees.crm_case_form_view_oppor_employees
-#: field:crm.lead,employees_range:0
-#: model:ir.model,name:crm_employees.model_crm_employees_range
-#: view:res.partner:crm_employees.view_partner_form_employees
-#: field:res.partner,employees_range:0
-msgid "Employees range"
-msgstr "Rango de empleados"
-
-#. module: crm_employees
-#: view:crm.employees_range:crm_employees.crm_employees_range_tree_view
-#: model:ir.actions.act_window,name:crm_employees.crm_employees_range_action
-#: model:ir.ui.menu,name:crm_employees.menu_crm_employees_range
-msgid "Employees ranges"
-msgstr "Rangos de empleados"
-
-#. module: crm_employees
-#: field:crm.employees_range,id:0
-msgid "ID"
-msgstr "ID"
-
-#. module: crm_employees
-#: field:crm.employees_range,write_uid:0
-msgid "Last Updated by"
-msgstr "Última actualización por"
-
-#. module: crm_employees
-#: field:crm.employees_range,write_date:0
-msgid "Last Updated on"
-msgstr "Última actualización en"
-
-#. module: crm_employees
-#: model:ir.model,name:crm_employees.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr "Iniciativa/Oportunidad"
-
-#. module: crm_employees
-#: field:crm.employees_range,name:0
-msgid "Name"
-msgstr "Nombre"
-
-#. module: crm_employees
-#: model:ir.model,name:crm_employees.model_res_partner
-msgid "Partner"
-msgstr "Empresa"
-
-#. module: crm_employees
-#: view:res.partner:crm_employees.view_res_partner_filter_employees
-msgid "Salesperson"
-msgstr "Comercial"
-
diff --git a/partner_employee_amount/security/ir.model.access.csv b/partner_employee_amount/security/ir.model.access.csv
deleted file mode 100644
index 883a0d119..000000000
--- a/partner_employee_amount/security/ir.model.access.csv
+++ /dev/null
@@ -1,5 +0,0 @@
-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_res_partner_employee_amount_range_public","res_partner_employee_amount_range group_public","model_res_partner_employee_amount_range","base.group_public",1,0,0,0
-"access_res_partner_employee_amount_range_portal","res_partner_employee_amount_range group_portal","model_res_partner_employee_amount_range","base.group_portal",1,0,0,0
-"access_res_partner_employee_amount_range_group_partner_manager","res_partner_employee_amount_range group_partner_manager","model_res_partner_employee_amount_range","base.group_partner_manager",1,1,1,1
-"access_res_partner_employee_amount_range_group_user","res_partner_employee_amount_range group_user","model_res_partner_employee_amount_range","base.group_user",1,0,0,0
diff --git a/partner_employee_amount/README.rst b/partner_employee_quantity/README.rst
similarity index 82%
rename from partner_employee_amount/README.rst
rename to partner_employee_quantity/README.rst
index 8b344ed7c..11a9ea65e 100644
--- a/partner_employee_amount/README.rst
+++ b/partner_employee_quantity/README.rst
@@ -2,19 +2,19 @@
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
 
-===========================
-Employee amount in partners
-===========================
+=============================
+Employee quantity in partners
+=============================
 
-This module allows to set employee amount for partners, and categorize them by
-ranges.
+This module allows to set employee quantity for partners, and categorize them
+by ranges.
 
 Configuration
 =============
 
 To manage available ranges, you need to:
 
-* Go to *Sales > Configuration > Address Book > Ranges by amount of employees*.
+* Go to *Sales > Configuration > Address Book > Ranges by quantity of employees*.
 
 Usage
 =====
@@ -23,7 +23,7 @@ To use this module, you need to:
 
 * Go to any partner's form.
 * Enable *Is company?*.
-* Go to *Sales & Purchases > Employee amount*.
+* Go to *Sales & Purchases > Employee quantity*.
 
 .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
    :alt: Try me on Runbot
@@ -38,7 +38,7 @@ check there if your issue has already been reported. If you spotted it first,
 help us smashing it by providing a detailed and welcomed `feedback
 <https://github.com/OCA/
 partner-contact/issues/new?body=module:%20
-partner_employee_amount%0Aversion:%20
+partner_employee_quantity%0Aversion:%20
 8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
 
 Credits
diff --git a/partner_employee_amount/__init__.py b/partner_employee_quantity/__init__.py
similarity index 100%
rename from partner_employee_amount/__init__.py
rename to partner_employee_quantity/__init__.py
diff --git a/partner_employee_amount/__openerp__.py b/partner_employee_quantity/__openerp__.py
similarity index 84%
rename from partner_employee_amount/__openerp__.py
rename to partner_employee_quantity/__openerp__.py
index 1c3ef7dbc..be90e04db 100644
--- a/partner_employee_amount/__openerp__.py
+++ b/partner_employee_quantity/__openerp__.py
@@ -4,7 +4,7 @@
 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
 {
-    'name': 'Employee amount in partners',
+    'name': 'Employee quantity in partners',
     'summary': 'Know how many employees a partner has',
     'version': '8.0.1.0.0',
     'category': 'Customer Relationship Management',
@@ -15,7 +15,7 @@
     ],
     'data': [
         'security/ir.model.access.csv',
-        'views/res_partner_employee_amount_range_view.xml',
+        'views/res_partner_employee_quantity_range_view.xml',
         'views/res_partner_view.xml',
     ],
     "installable": True,
diff --git a/partner_employee_quantity/i18n/es.po b/partner_employee_quantity/i18n/es.po
new file mode 100644
index 000000000..d3c891ec8
--- /dev/null
+++ b/partner_employee_quantity/i18n/es.po
@@ -0,0 +1,91 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#   * crm_employees
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-12-21 16:02+0100\n"
+"PO-Revision-Date: 2015-12-21 16:03+0100\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Poedit 1.8.5\n"
+
+#. module: partner_employee_quantity
+#: field:res.partner.employee_quantity_range,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: partner_employee_quantity
+#: field:res.partner.employee_quantity_range,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: partner_employee_quantity
+#: view:res.partner:partner_employee_quantity.view_partner_form_employees
+#: field:res.partner,employee_quantity:0
+msgid "Employee quantity"
+msgstr "Cantidad de empleados"
+
+#. module: partner_employee_quantity
+#: field:res.partner,employee_quantity_range_id:0
+msgid "Employee quantity range"
+msgstr "Rango de la cantidad de empleados"
+
+#. module: partner_employee_quantity
+#: view:res.partner:partner_employee_quantity.view_res_partner_filter_employees
+msgid "Employees"
+msgstr "Empleados"
+
+#. module: partner_employee_quantity
+#: field:res.partner.employee_quantity_range,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: partner_employee_quantity
+#: field:res.partner.employee_quantity_range,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: partner_employee_quantity
+#: field:res.partner.employee_quantity_range,write_date:0
+msgid "Last Updated on"
+msgstr "Última actualización en"
+
+#. module: partner_employee_quantity
+#: field:res.partner.employee_quantity_range,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: partner_employee_quantity
+#: model:ir.model,name:partner_employee_quantity.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: partner_employee_quantity
+#: model:ir.model,name:partner_employee_quantity.model_res_partner_employee_quantity_range
+msgid "Partner employee quantity range"
+msgstr "Rango de la cantidad de empleados de la empresa"
+
+#. module: partner_employee_quantity
+#: help:res.partner,employee_quantity_range_id:0
+msgid "Range of this partner depending on the employee quantity."
+msgstr "Rango de esta empresa dependiendo de su cantidad de empleados."
+
+#. module: partner_employee_quantity
+#: model:ir.actions.act_window,name:partner_employee_quantity.employees_range_action
+#: model:ir.ui.menu,name:partner_employee_quantity.menu_employees_range
+#: view:res.partner.employee_quantity_range:partner_employee_quantity.employees_range_tree_view
+msgid "Ranges by quantity of employees"
+msgstr "Rangos por cantidad de empleados"
+
+#. module: partner_employee_quantity
+#: view:res.partner:partner_employee_quantity.view_res_partner_filter_employees
+msgid "Salesperson"
+msgstr "Comercial"
diff --git a/partner_employee_amount/models/__init__.py b/partner_employee_quantity/models/__init__.py
similarity index 100%
rename from partner_employee_amount/models/__init__.py
rename to partner_employee_quantity/models/__init__.py
diff --git a/partner_employee_amount/models/res_partner.py b/partner_employee_quantity/models/res_partner.py
similarity index 51%
rename from partner_employee_amount/models/res_partner.py
rename to partner_employee_quantity/models/res_partner.py
index ff79d6586..0bff10d55 100644
--- a/partner_employee_amount/models/res_partner.py
+++ b/partner_employee_quantity/models/res_partner.py
@@ -9,17 +9,17 @@ from openerp import models, fields
 class ResPartner(models.Model):
     _inherit = 'res.partner'
 
-    employee_amount = fields.Integer(
+    employee_quantity = fields.Integer(
         oldname="employees_number")
-    employee_amount_range_id = fields.Many2one(
-        "res.partner.employee_amount_range",
-        "Employee amount range",
-        help="Range of this partner depending on the employee amount.",
+    employee_quantity_range_id = fields.Many2one(
+        "res.partner.employee_quantity_range",
+        "Employee quantity range",
+        help="Range of this partner depending on the employee quantity.",
         oldname="employees_range")
 
 
-class ResPartnerEmployeeAmountRange(models.Model):
-    _name = "res.partner.employee_amount_range"
-    _description = "Partner employee amount range"
+class ResPartnerEmployeeQuantityRange(models.Model):
+    _name = "res.partner.employee_quantity_range"
+    _description = "Partner employee quantity range"
 
     name = fields.Char(required=True, translate=True)
diff --git a/partner_employee_quantity/security/ir.model.access.csv b/partner_employee_quantity/security/ir.model.access.csv
new file mode 100644
index 000000000..ad0aaf6bf
--- /dev/null
+++ b/partner_employee_quantity/security/ir.model.access.csv
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_res_partner_employee_quantity_range_public","res_partner_employee_quantity_range group_public","model_res_partner_employee_quantity_range","base.group_public",1,0,0,0
+"access_res_partner_employee_quantity_range_portal","res_partner_employee_quantity_range group_portal","model_res_partner_employee_quantity_range","base.group_portal",1,0,0,0
+"access_res_partner_employee_quantity_range_group_partner_manager","res_partner_employee_quantity_range group_partner_manager","model_res_partner_employee_quantity_range","base.group_partner_manager",1,1,1,1
+"access_res_partner_employee_quantity_range_group_user","res_partner_employee_quantity_range group_user","model_res_partner_employee_quantity_range","base.group_user",1,0,0,0
diff --git a/partner_employee_amount/static/description/icon.png b/partner_employee_quantity/static/description/icon.png
similarity index 100%
rename from partner_employee_amount/static/description/icon.png
rename to partner_employee_quantity/static/description/icon.png
diff --git a/partner_employee_amount/views/res_partner_employee_amount_range_view.xml b/partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml
similarity index 61%
rename from partner_employee_amount/views/res_partner_employee_amount_range_view.xml
rename to partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml
index 03d580af9..429640911 100644
--- a/partner_employee_amount/views/res_partner_employee_amount_range_view.xml
+++ b/partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml
@@ -3,17 +3,17 @@
 <data>
 
 <record id="employees_range_action" model="ir.actions.act_window">
-    <field name="name">Ranges by amount of employees</field>
-    <field name="res_model">res.partner.employee_amount_range</field>
+    <field name="name">Ranges by quantity of employees</field>
+    <field name="res_model">res.partner.employee_quantity_range</field>
     <field name="view_type">form</field>
     <field name="view_mode">tree</field>
 </record>
 
 <record id="employees_range_tree_view" model="ir.ui.view">
-    <field name="name">Amount of employees ranges tree</field>
-    <field name="model">res.partner.employee_amount_range</field>
+    <field name="name">Quantity of employees ranges tree</field>
+    <field name="model">res.partner.employee_quantity_range</field>
     <field name="arch" type="xml">
-        <tree string="Ranges by amount of employees" editable="top">
+        <tree string="Ranges by quantity of employees" editable="top">
             <field name="name"/>
         </tree>
     </field>
diff --git a/partner_employee_amount/views/res_partner_view.xml b/partner_employee_quantity/views/res_partner_view.xml
similarity index 74%
rename from partner_employee_amount/views/res_partner_view.xml
rename to partner_employee_quantity/views/res_partner_view.xml
index 133061a2a..8a8297db5 100644
--- a/partner_employee_amount/views/res_partner_view.xml
+++ b/partner_employee_quantity/views/res_partner_view.xml
@@ -8,11 +8,11 @@
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
         <xpath expr="//page[@name='sales_purchases']/group">
-            <group name="employee_amount"
-                   string="Employee amount"
+            <group name="employee_quantity"
+                   string="Employee quantity"
                    attrs="{'invisible': [('is_company', '=', False)]}">
-                <field name="employee_amount"/>
-                <field name="employee_amount_range_id"/>
+                <field name="employee_quantity"/>
+                <field name="employee_quantity_range_id"/>
             </group>
         </xpath>
     </field>
@@ -24,9 +24,9 @@
     <field name="inherit_id" ref="base.view_res_partner_filter"/>
     <field name="arch" type="xml">
         <filter string="Salesperson" position="after">
-            <filter string="Employees"
+            <filter string="Employee Quantity"
                     domain="[('is_company','=', True)]"
-                    context="{'group_by': 'employee_amount_range_id'}"/>
+                    context="{'group_by': 'employee_quantity_range_id'}"/>
         </filter>
     </field>
 </record>

From d227a867f9e404ff1f11dc3469eb028440ea4b91 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Sat, 21 Feb 2015 20:30:57 +0100
Subject: [PATCH 40/58] Addon crm_department

---
 crm_department/README.rst                    |  13 +++
 crm_department/__init__.py                   |   6 ++
 crm_department/__openerp__.py                |  39 +++++++++
 crm_department/i18n/crm_department.pot       |  84 ++++++++++++++++++
 crm_department/i18n/es.po                    |  84 ++++++++++++++++++
 crm_department/models/__init__.py            |   8 ++
 crm_department/models/crm_department.py      |  20 +++++
 crm_department/models/crm_lead.py            |  23 +++++
 crm_department/models/res_partner.py         |  11 +++
 crm_department/static/description/icon.png   | Bin 0 -> 22620 bytes
 crm_department/views/crm_department_view.xml |  30 +++++++
 crm_department/views/crm_lead_view.xml       |  86 +++++++++++++++++++
 crm_department/views/res_partner_view.xml    |  47 ++++++++++
 13 files changed, 451 insertions(+)
 create mode 100644 crm_department/README.rst
 create mode 100644 crm_department/__init__.py
 create mode 100644 crm_department/__openerp__.py
 create mode 100644 crm_department/i18n/crm_department.pot
 create mode 100644 crm_department/i18n/es.po
 create mode 100644 crm_department/models/__init__.py
 create mode 100644 crm_department/models/crm_department.py
 create mode 100644 crm_department/models/crm_lead.py
 create mode 100644 crm_department/models/res_partner.py
 create mode 100644 crm_department/static/description/icon.png
 create mode 100644 crm_department/views/crm_department_view.xml
 create mode 100644 crm_department/views/crm_lead_view.xml
 create mode 100644 crm_department/views/res_partner_view.xml

diff --git a/crm_department/README.rst b/crm_department/README.rst
new file mode 100644
index 000000000..e9228f523
--- /dev/null
+++ b/crm_department/README.rst
@@ -0,0 +1,13 @@
+Departments in CRM
+==================
+
+This module adds the concept of department to the CRM main objects (lead,
+opportunity, partner), and propagate them through the workflow.
+
+Credits
+=======
+
+Contributors
+------------
+* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+* Antonio Espinosa <antonioea@antiun.com>
diff --git a/crm_department/__init__.py b/crm_department/__init__.py
new file mode 100644
index 000000000..054c8853d
--- /dev/null
+++ b/crm_department/__init__.py
@@ -0,0 +1,6 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import models
diff --git a/crm_department/__openerp__.py b/crm_department/__openerp__.py
new file mode 100644
index 000000000..7d38c7269
--- /dev/null
+++ b/crm_department/__openerp__.py
@@ -0,0 +1,39 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Odoo Source Management Solution
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.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/>.
+#
+##############################################################################
+
+{
+    'name': 'Departments in CRM',
+    'version': '1.0',
+    'category': 'Customer Relationship Management',
+    'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
+              'Antiun Ingeniería S.L.',
+    'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
+    'depends': [
+        'crm',
+    ],
+    'data': [
+        'views/crm_department_view.xml',
+        'views/crm_lead_view.xml',
+        'views/res_partner_view.xml',
+    ],
+    "installable": True,
+}
diff --git a/crm_department/i18n/crm_department.pot b/crm_department/i18n/crm_department.pot
new file mode 100644
index 000000000..e179e4782
--- /dev/null
+++ b/crm_department/i18n/crm_department.pot
@@ -0,0 +1,84 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_department
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-01-24 13:47+0000\n"
+"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_department
+#: field:crm.department,children:0
+msgid "Children"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,id:0
+msgid "ID"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,name:0
+msgid "Name"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,parent_left:0
+msgid "Parent Left"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,parent_right:0
+msgid "Parent Right"
+msgstr ""
+
+#. module: crm_department
+#: field:crm.department,parent_id:0
+msgid "Parent id"
+msgstr ""
+
+#. module: crm_department
+#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
+#: field:crm.lead,department:0
+#: model:ir.model,name:crm_department.model_crm_department
+#: view:res.partner:crm_department.view_res_partner_filter_department
+#: field:res.partner,department:0
+msgid "Department"
+msgstr ""
+
+#. module: crm_department
+#: view:crm.department:crm_department.crm_department_tree_view
+#: model:ir.actions.act_window,name:crm_department.crm_department_action
+#: model:ir.ui.menu,name:crm_department.menu_crm_department
+msgid "Departments"
+msgstr ""
+
diff --git a/crm_department/i18n/es.po b/crm_department/i18n/es.po
new file mode 100644
index 000000000..0516eca84
--- /dev/null
+++ b/crm_department/i18n/es.po
@@ -0,0 +1,84 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_department
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-01-24 13:47+0000\n"
+"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_department
+#: field:crm.department,children:0
+msgid "Children"
+msgstr "Hijos"
+
+#. module: crm_department
+#: field:crm.department,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: crm_department
+#: field:crm.department,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: crm_department
+#: field:crm.department,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: crm_department
+#: field:crm.department,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: crm_department
+#: field:crm.department,write_date:0
+msgid "Last Updated on"
+msgstr "Última actualización en"
+
+#. module: crm_department
+#: field:crm.department,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: crm_department
+#: field:crm.department,parent_left:0
+msgid "Parent Left"
+msgstr "Padre izquierdo"
+
+#. module: crm_department
+#: field:crm.department,parent_right:0
+msgid "Parent Right"
+msgstr "Padre derecho"
+
+#. module: crm_department
+#: field:crm.department,parent_id:0
+msgid "Parent id"
+msgstr "ID del padre"
+
+#. module: crm_department
+#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
+#: field:crm.lead,department:0
+#: model:ir.model,name:crm_department.model_crm_department
+#: view:res.partner:crm_department.view_res_partner_filter_department
+#: field:res.partner,department:0
+msgid "Department"
+msgstr "Departamento"
+
+#. module: crm_department
+#: view:crm.department:crm_department.crm_department_tree_view
+#: model:ir.actions.act_window,name:crm_department.crm_department_action
+#: model:ir.ui.menu,name:crm_department.menu_crm_department
+msgid "Departments"
+msgstr "Departamentos"
+
diff --git a/crm_department/models/__init__.py b/crm_department/models/__init__.py
new file mode 100644
index 000000000..006c33b3b
--- /dev/null
+++ b/crm_department/models/__init__.py
@@ -0,0 +1,8 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import crm_department
+from . import crm_lead
+from . import res_partner
diff --git a/crm_department/models/crm_department.py b/crm_department/models/crm_department.py
new file mode 100644
index 000000000..2927c567a
--- /dev/null
+++ b/crm_department/models/crm_department.py
@@ -0,0 +1,20 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmDepartment(models.Model):
+    _name = 'crm.department'
+    _order = "parent_left"
+    _parent_order = "name"
+    _parent_store = True
+    _description = "Department"
+
+    name = fields.Char(required=True)
+    parent_id = fields.Many2one(comodel_name='crm.department')
+    children = fields.One2many(comodel_name='crm.department',
+                               inverse_name='parent_id')
+    parent_left = fields.Integer('Parent Left', select=True)
+    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_department/models/crm_lead.py b/crm_department/models/crm_lead.py
new file mode 100644
index 000000000..33fa82850
--- /dev/null
+++ b/crm_department/models/crm_lead.py
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmLead(models.Model):
+    _inherit = 'crm.lead'
+
+    department = fields.Many2one(comodel_name='crm.department')
+
+    def _lead_create_contact(self, cr, uid, lead, name, is_company,
+                             parent_id=False, context=None):
+        """Propagate department to created partner.
+        """
+        partner_id = super(CrmLead, self)._lead_create_contact(
+            cr, uid, lead, name, is_company, parent_id=parent_id,
+            context=context)
+        self.pool['res.partner'].write(
+            cr, uid, partner_id, {'department': lead.department.id},
+            context=context)
+        return partner_id
diff --git a/crm_department/models/res_partner.py b/crm_department/models/res_partner.py
new file mode 100644
index 000000000..b8c7cd3a8
--- /dev/null
+++ b/crm_department/models/res_partner.py
@@ -0,0 +1,11 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+
+    department = fields.Many2one(comodel_name='crm.department')
diff --git a/crm_department/static/description/icon.png b/crm_department/static/description/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..add81b17a4847ff2663923593ecc364587d3dd9f
GIT binary patch
literal 22620
zcmV*6Ky$x|P)<h;3K|Lk000e1NJLTq004jh004jp1^@s6!#-il00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-vJm4Dh>npTvPx6AOJ~3
zK~#9!?7exMTvv7P``vq=Q*(Fq+^u<RS&}Uw%aV<4AjI(?gTXd42^nq(L<Fpa%aDOf
zxFG|{!<XF15QGB+!VnA?V~mY#uw`t(lWfbDWX)4cJ*m}Gbxo(v*?Ye~&Z(&-czK`C
z`$Y1)DSi5*?yl+@&f07Gt>0Qp@L#v;O>Et|RRFSYWLN;SfB949x)Job9{lXvZgnpE
z_B|S~FY6Eef0Bf)wc?ID?hpVg_rD|#j*bd|y${@DKVLexpaIa<`THL~lwNr1WYRAc
z%fEZumMH+c0wE5DPyJs9;6l22h^=4PDpssmAr2lqDCAFfaM8|Qdu@E15eI*{u<jf?
zm`*?O;v9D(zt|Rv%SExY!p`Iu+k9z0g<_j5mJ)cCiWTZWN%Fbh`}Z$DV67GV_U&_4
zty*OteDFcLY11bCUkBhnS*w5i{`bkLwsr}y?C^fOe%C$vR|)#xUU;$9eQEC;H94_}
zLZzQ_afK*X`YBfyo3c08mP=Wu>=P6U_%j8(+zfuHgf4j~X-TEi7}sU8CHB$({>Ve0
zp7nmD5W@V|0r>y$J=zs;#|O5G+Z_1Z!#iZ{o=5I6ADHBqUhL2R_$Qs6gD2<O>FLFy
z>@Syva=)!qmQ(T;nR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!S^HM87=eLW6Nza2PNi!V-B{l7Konl$zT$-+4w_@xAAH4Oq?|<OtZ@%3M<uAsY
zjDPs%_pjNrd;cAssB`c9eCx_iJ3)#7Aw8@;xj6LW=|v04<RT)fL|}!%m_EL=dpn=^
zj<L+lWC73&&^Uzb8Ey9@m$Qt+m<~hBJ*u_Rt9^Z?|9A6yuix~chj0Jxsg|gJF@C~0
zJT^Q0kKcOcBge)je{*(b?!q*c2&W}dU`&cqUT%VEky7Q7bOz@fN~ui9DgVZ;F({QA
zBnU&xRrvDuy*yeRWmPi9bJHu?(k_BEXq6o^Qi71iSr?n(;lYEq+;YP=?z#8cKU}kJ
zc=~koD1I^C#&~u6_H$p|a^R}@di~;dySYA2(u+MWylQqnCQTDsoi<7+lvWs%=IUly
z#*op{G|rh!=*o4N)+PS_`B6STaG14biY=X097u|+T)C8qiK*`m4-buj*|F-p!9AaS
z^f$j-s+1>ATO$06={$X7Y9`hD4(z|;$kEYjXJ+PBDJicxa^$F;nwrA*Laei*Tq<83
zhCy*|ZuU8AObQXQT(kc2b(fvf8U2fk`^yc}x8msacir?i;tWW`o;?0Puc%<3wgGsH
P00000NkvXXu0mjfiBcmQ

literal 0
HcmV?d00001

diff --git a/crm_department/views/crm_department_view.xml b/crm_department/views/crm_department_view.xml
new file mode 100644
index 000000000..4a0c66fa7
--- /dev/null
+++ b/crm_department/views/crm_department_view.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record id="crm_department_action" model="ir.actions.act_window">
+            <field name="name">Departments</field>
+            <field name="res_model">crm.department</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree</field>
+        </record>
+
+        <record id="crm_department_tree_view" model="ir.ui.view">
+            <field name="name">CRM department tree</field>
+            <field name="model">crm.department</field>
+            <field name="arch" type="xml">
+                <tree string="Departments" editable="bottom">
+                    <field name="name"/>
+                    <field name="parent_id"/>
+                </tree>
+            </field>
+        </record>
+
+        <menuitem action="crm_department_action"
+                  id="menu_crm_department"
+                  name="Departments"
+                  parent="base.menu_crm_config_lead"
+                  sequence="3"/>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_department/views/crm_lead_view.xml b/crm_department/views/crm_lead_view.xml
new file mode 100644
index 000000000..32e851bce
--- /dev/null
+++ b/crm_department/views/crm_lead_view.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="crm_case_form_view_leads_department">
+            <field name="name">CRM - Leads Form with department</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+            <field name="arch" type="xml">
+                <field name="phone" position="before">
+                    <field name="department"/>
+                </field>
+            </field>
+        </record>
+
+        <!-- Uncomment this to add a new column to tree view
+        <record model="ir.ui.view" id="crm_case_tree_view_leads_department">
+            <field name="name">Leads with department</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
+            <field name="arch" type="xml">
+                <field name="section_id" position="after">
+                    <field name="department"/>
+                </field>
+            </field>
+        </record>
+        -->
+
+        <record model="ir.ui.view" id="view_crm_case_leads_filter_department">
+            <field name="name">CRM - Leads Search with departments</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
+            <field name="arch" type="xml">
+                <field name="section_id" position="after">
+                    <field name="department"/>
+                </field>
+                <filter string="Sales Team" position="after">
+                    <filter string="Department"
+                            domain="[]"
+                            context="{'group_by': 'department'}"/>
+                </filter>
+            </field>
+        </record>
+
+        <record model="ir.ui.view" id="crm_case_form_view_oppor_department">
+            <field name="name">CRM - Leads Form with department</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+            <field name="arch" type="xml">
+                <field name="phone" position="before">
+                    <field name="department"/>
+                </field>
+            </field>
+        </record>
+
+        <!-- Uncomment this to add a new column to tree view
+        <record model="ir.ui.view" id="crm_case_tree_view_oppor_department">
+            <field name="name">Leads with department</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
+            <field name="arch" type="xml">
+                <field name="section_id" position="after">
+                    <field name="department"/>
+                </field>
+            </field>
+        </record>
+        -->
+
+        <record model="ir.ui.view" id="view_crm_case_opportunities_filter_department">
+            <field name="name">CRM - Leads Search with departments</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
+            <field name="arch" type="xml">
+                <field name="section_id" position="after">
+                    <field name="department"/>
+                </field>
+                <filter string="Sales Team" position="after">
+                    <filter string="Department"
+                            domain="[]"
+                            context="{'group_by': 'department'}"/>
+                </filter>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file
diff --git a/crm_department/views/res_partner_view.xml b/crm_department/views/res_partner_view.xml
new file mode 100644
index 000000000..0909e057d
--- /dev/null
+++ b/crm_department/views/res_partner_view.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="view_partner_form_department">
+            <field name="name">Partner form with department</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_form"/>
+            <field name="arch" type="xml">
+                <field name="phone" position="before">
+                    <field name="department"
+                           placeholder="Department"/>
+                </field>
+            </field>
+        </record>
+
+        <!-- Uncomment this to add a new column to tree view
+        <record model="ir.ui.view" id="view_partner_tree_department">
+            <field name="name">Partner tree with department</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_tree"/>
+            <field name="arch" type="xml">
+                <field name="phone" position="before">
+                    <field name="department"/>
+                </field>
+            </field>
+        </record>
+        -->
+
+        <record model="ir.ui.view" id="view_res_partner_filter_department">
+            <field name="name">Partner search with department</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_res_partner_filter"/>
+            <field name="arch" type="xml">
+                <field name="category_id" position="after">
+                    <field name="department"/>
+                </field>
+                <filter string="Salesperson" position="after">
+                    <filter string="Department"
+                            domain="[]"
+                            context="{'group_by': 'department'}"/>
+                </filter>
+            </field>
+        </record>
+
+    </data>
+</openerp>
\ No newline at end of file

From 9641220864e7d4a910c87e3f67b7e36256017db2 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Sat, 21 Feb 2015 20:45:43 +0100
Subject: [PATCH 41/58] Add copyright info

---
 crm_department/__openerp__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crm_department/__openerp__.py b/crm_department/__openerp__.py
index 7d38c7269..b48cec38a 100644
--- a/crm_department/__openerp__.py
+++ b/crm_department/__openerp__.py
@@ -4,6 +4,8 @@
 #    OpenERP, Odoo Source Management Solution
 #    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
 #                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.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

From dd5771696ffc5fa3e0af467a711f18ce46785e2c Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Tue, 3 Mar 2015 15:48:58 +0100
Subject: [PATCH 42/58] CRM Department access rights

---
 crm_department/__openerp__.py               | 1 +
 crm_department/security/ir.model.access.csv | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 crm_department/security/ir.model.access.csv

diff --git a/crm_department/__openerp__.py b/crm_department/__openerp__.py
index b48cec38a..e4372990c 100644
--- a/crm_department/__openerp__.py
+++ b/crm_department/__openerp__.py
@@ -36,6 +36,7 @@
         'views/crm_department_view.xml',
         'views/crm_lead_view.xml',
         'views/res_partner_view.xml',
+        'security/ir.model.access.csv',
     ],
     "installable": True,
 }
diff --git a/crm_department/security/ir.model.access.csv b/crm_department/security/ir.model.access.csv
new file mode 100644
index 000000000..dc285f926
--- /dev/null
+++ b/crm_department/security/ir.model.access.csv
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_crm_department_public","crm_department group_public","model_crm_department","base.group_public",1,0,0,0
+"access_crm_department_portal","crm_department group_portal","model_crm_department","base.group_portal",1,0,0,0
+"access_crm_department_group_partner_manager","crm_department group_partner_manager","model_crm_department","base.group_partner_manager",1,1,1,1
+"access_crm_department_group_user","crm_department group_user","model_crm_department","base.group_user",1,0,0,0

From 766b8564f524c9fcad2d82d08c8ec370532b7411 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 27 Mar 2015 12:53:53 +0100
Subject: [PATCH 43/58] Set some fields as tranlate

---
 crm_department/models/crm_department.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_department/models/crm_department.py b/crm_department/models/crm_department.py
index 2927c567a..71bc4067e 100644
--- a/crm_department/models/crm_department.py
+++ b/crm_department/models/crm_department.py
@@ -12,7 +12,7 @@ class CrmDepartment(models.Model):
     _parent_store = True
     _description = "Department"
 
-    name = fields.Char(required=True)
+    name = fields.Char(required=True, translate=True)
     parent_id = fields.Many2one(comodel_name='crm.department')
     children = fields.One2many(comodel_name='crm.department',
                                inverse_name='parent_id')

From dbceae355edc3ddee96382de83a50ef5a8bb8420 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Wed, 8 Apr 2015 19:34:58 +0200
Subject: [PATCH 44/58] [FIX] XML revised

---
 crm_department/views/crm_department_view.xml |  48 +++---
 crm_department/views/crm_lead_view.xml       | 154 +++++++++----------
 crm_department/views/res_partner_view.xml    |  82 +++++-----
 3 files changed, 142 insertions(+), 142 deletions(-)

diff --git a/crm_department/views/crm_department_view.xml b/crm_department/views/crm_department_view.xml
index 4a0c66fa7..d340f28e3 100644
--- a/crm_department/views/crm_department_view.xml
+++ b/crm_department/views/crm_department_view.xml
@@ -1,30 +1,30 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record id="crm_department_action" model="ir.actions.act_window">
-            <field name="name">Departments</field>
-            <field name="res_model">crm.department</field>
-            <field name="view_type">form</field>
-            <field name="view_mode">tree</field>
-        </record>
+<record id="crm_department_action" model="ir.actions.act_window">
+    <field name="name">Departments</field>
+    <field name="res_model">crm.department</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
 
-        <record id="crm_department_tree_view" model="ir.ui.view">
-            <field name="name">CRM department tree</field>
-            <field name="model">crm.department</field>
-            <field name="arch" type="xml">
-                <tree string="Departments" editable="bottom">
-                    <field name="name"/>
-                    <field name="parent_id"/>
-                </tree>
-            </field>
-        </record>
+<record id="crm_department_tree_view" model="ir.ui.view">
+    <field name="name">CRM department tree</field>
+    <field name="model">crm.department</field>
+    <field name="arch" type="xml">
+        <tree string="Departments" editable="bottom">
+            <field name="name"/>
+            <field name="parent_id"/>
+        </tree>
+    </field>
+</record>
 
-        <menuitem action="crm_department_action"
-                  id="menu_crm_department"
-                  name="Departments"
-                  parent="base.menu_crm_config_lead"
-                  sequence="3"/>
+<menuitem action="crm_department_action"
+          id="menu_crm_department"
+          name="Departments"
+          parent="base.menu_crm_config_lead"
+          sequence="3"/>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_department/views/crm_lead_view.xml b/crm_department/views/crm_lead_view.xml
index 32e851bce..26439d894 100644
--- a/crm_department/views/crm_lead_view.xml
+++ b/crm_department/views/crm_lead_view.xml
@@ -1,86 +1,86 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="crm_case_form_view_leads_department">
-            <field name="name">CRM - Leads Form with department</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-            <field name="arch" type="xml">
-                <field name="phone" position="before">
-                    <field name="department"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="crm_case_form_view_leads_department">
+    <field name="name">CRM - Leads Form with department</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"/>
+        </field>
+    </field>
+</record>
 
-        <!-- Uncomment this to add a new column to tree view
-        <record model="ir.ui.view" id="crm_case_tree_view_leads_department">
-            <field name="name">Leads with department</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
-            <field name="arch" type="xml">
-                <field name="section_id" position="after">
-                    <field name="department"/>
-                </field>
-            </field>
-        </record>
-        -->
+<!-- Uncomment this to add a new column to tree view
+<record model="ir.ui.view" id="crm_case_tree_view_leads_department">
+    <field name="name">Leads with department</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="department"/>
+        </field>
+    </field>
+</record>
+-->
 
-        <record model="ir.ui.view" id="view_crm_case_leads_filter_department">
-            <field name="name">CRM - Leads Search with departments</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
-            <field name="arch" type="xml">
-                <field name="section_id" position="after">
-                    <field name="department"/>
-                </field>
-                <filter string="Sales Team" position="after">
-                    <filter string="Department"
-                            domain="[]"
-                            context="{'group_by': 'department'}"/>
-                </filter>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_crm_case_leads_filter_department">
+    <field name="name">CRM - Leads Search with departments</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="department"/>
+        </field>
+        <filter string="Sales Team" position="after">
+            <filter string="Department"
+                    domain="[]"
+                    context="{'group_by': 'department'}"/>
+        </filter>
+    </field>
+</record>
 
-        <record model="ir.ui.view" id="crm_case_form_view_oppor_department">
-            <field name="name">CRM - Leads Form with department</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-            <field name="arch" type="xml">
-                <field name="phone" position="before">
-                    <field name="department"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="crm_case_form_view_oppor_department">
+    <field name="name">CRM - Leads Form with department</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"/>
+        </field>
+    </field>
+</record>
 
-        <!-- Uncomment this to add a new column to tree view
-        <record model="ir.ui.view" id="crm_case_tree_view_oppor_department">
-            <field name="name">Leads with department</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
-            <field name="arch" type="xml">
-                <field name="section_id" position="after">
-                    <field name="department"/>
-                </field>
-            </field>
-        </record>
-        -->
+<!-- Uncomment this to add a new column to tree view
+<record model="ir.ui.view" id="crm_case_tree_view_oppor_department">
+    <field name="name">Leads with department</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="department"/>
+        </field>
+    </field>
+</record>
+-->
 
-        <record model="ir.ui.view" id="view_crm_case_opportunities_filter_department">
-            <field name="name">CRM - Leads Search with departments</field>
-            <field name="model">crm.lead</field>
-            <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
-            <field name="arch" type="xml">
-                <field name="section_id" position="after">
-                    <field name="department"/>
-                </field>
-                <filter string="Sales Team" position="after">
-                    <filter string="Department"
-                            domain="[]"
-                            context="{'group_by': 'department'}"/>
-                </filter>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_crm_case_opportunities_filter_department">
+    <field name="name">CRM - Leads Search with departments</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="department"/>
+        </field>
+        <filter string="Sales Team" position="after">
+            <filter string="Department"
+                    domain="[]"
+                    context="{'group_by': 'department'}"/>
+        </filter>
+    </field>
+</record>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file
diff --git a/crm_department/views/res_partner_view.xml b/crm_department/views/res_partner_view.xml
index 0909e057d..a896b98fb 100644
--- a/crm_department/views/res_partner_view.xml
+++ b/crm_department/views/res_partner_view.xml
@@ -1,47 +1,47 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <openerp>
-    <data>
+<data>
 
-        <record model="ir.ui.view" id="view_partner_form_department">
-            <field name="name">Partner form with department</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_partner_form"/>
-            <field name="arch" type="xml">
-                <field name="phone" position="before">
-                    <field name="department"
-                           placeholder="Department"/>
-                </field>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_partner_form_department">
+    <field name="name">Partner form with department</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_form"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"
+                   placeholder="Department"/>
+        </field>
+    </field>
+</record>
 
-        <!-- Uncomment this to add a new column to tree view
-        <record model="ir.ui.view" id="view_partner_tree_department">
-            <field name="name">Partner tree with department</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_partner_tree"/>
-            <field name="arch" type="xml">
-                <field name="phone" position="before">
-                    <field name="department"/>
-                </field>
-            </field>
-        </record>
-        -->
+<!-- Uncomment this to add a new column to tree view
+<record model="ir.ui.view" id="view_partner_tree_department">
+    <field name="name">Partner tree with department</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_tree"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"/>
+        </field>
+    </field>
+</record>
+-->
 
-        <record model="ir.ui.view" id="view_res_partner_filter_department">
-            <field name="name">Partner search with department</field>
-            <field name="model">res.partner</field>
-            <field name="inherit_id" ref="base.view_res_partner_filter"/>
-            <field name="arch" type="xml">
-                <field name="category_id" position="after">
-                    <field name="department"/>
-                </field>
-                <filter string="Salesperson" position="after">
-                    <filter string="Department"
-                            domain="[]"
-                            context="{'group_by': 'department'}"/>
-                </filter>
-            </field>
-        </record>
+<record model="ir.ui.view" id="view_res_partner_filter_department">
+    <field name="name">Partner search with department</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_res_partner_filter"/>
+    <field name="arch" type="xml">
+        <field name="category_id" position="after">
+            <field name="department"/>
+        </field>
+        <filter string="Salesperson" position="after">
+            <filter string="Department"
+                    domain="[('is_company', '=', False)]"
+                    context="{'group_by': 'department'}"/>
+        </filter>
+    </field>
+</record>
 
-    </data>
+</data>
 </openerp>
\ No newline at end of file

From 01de2b79c8be8b6e5783a54808bc901b9fed54da Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Thu, 16 Apr 2015 16:32:07 +0200
Subject: [PATCH 45/58] [FIX] View fields review

---
 crm_department/views/crm_lead_view.xml    |  8 ++++++--
 crm_department/views/res_partner_view.xml | 10 +++++++++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/crm_department/views/crm_lead_view.xml b/crm_department/views/crm_lead_view.xml
index 26439d894..c934eedd0 100644
--- a/crm_department/views/crm_lead_view.xml
+++ b/crm_department/views/crm_lead_view.xml
@@ -8,7 +8,9 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
     <field name="arch" type="xml">
         <field name="phone" position="before">
-            <field name="department"/>
+            <field name="department"
+                   placeholder="Department"
+                   options='{"no_open": True}'/>
         </field>
     </field>
 </record>
@@ -48,7 +50,9 @@
     <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
     <field name="arch" type="xml">
         <field name="phone" position="before">
-            <field name="department"/>
+            <field name="department"
+                   placeholder="Department"
+                   options='{"no_open": True}'/>
         </field>
     </field>
 </record>
diff --git a/crm_department/views/res_partner_view.xml b/crm_department/views/res_partner_view.xml
index a896b98fb..8856abd93 100644
--- a/crm_department/views/res_partner_view.xml
+++ b/crm_department/views/res_partner_view.xml
@@ -9,8 +9,16 @@
     <field name="arch" type="xml">
         <field name="phone" position="before">
             <field name="department"
-                   placeholder="Department"/>
+                   placeholder="Department"
+                   attrs="{'invisible': [('is_company','=', True)]}"
+                   options='{"no_open": True}'/>
         </field>
+        <xpath expr="//field[@name='child_ids']/form//field[@name='phone']" position="before">
+            <field name="department"
+                   placeholder="Department"
+                   attrs="{'invisible': [('is_company','=', True)]}"
+                   options='{"no_open": True}'/>
+        </xpath>
     </field>
 </record>
 

From 3ca7885df0ff11780d1ddb9f8a5ba345e8f04c97 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antonioea@antiun.com>
Date: Fri, 22 May 2015 09:29:19 +0200
Subject: [PATCH 46/58] [FIX] Add new record on top of the list

---
 crm_department/views/crm_department_view.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_department/views/crm_department_view.xml b/crm_department/views/crm_department_view.xml
index d340f28e3..981e7d7b7 100644
--- a/crm_department/views/crm_department_view.xml
+++ b/crm_department/views/crm_department_view.xml
@@ -13,7 +13,7 @@
     <field name="name">CRM department tree</field>
     <field name="model">crm.department</field>
     <field name="arch" type="xml">
-        <tree string="Departments" editable="bottom">
+        <tree string="Departments" editable="top">
             <field name="name"/>
             <field name="parent_id"/>
         </tree>

From 027ec8255692063ec66cd84c33baccbdd53d4fb5 Mon Sep 17 00:00:00 2001
From: Javier Iniesta <javieria@antiun.com>
Date: Wed, 27 May 2015 12:00:23 +0200
Subject: [PATCH 47/58] [IMP] Updated translations

---
 crm_department/i18n/crm_department.pot | 46 +++++++++++++++-----
 crm_department/i18n/es.po              | 58 ++++++++++++++++++--------
 2 files changed, 76 insertions(+), 28 deletions(-)

diff --git a/crm_department/i18n/crm_department.pot b/crm_department/i18n/crm_department.pot
index e179e4782..561efa034 100644
--- a/crm_department/i18n/crm_department.pot
+++ b/crm_department/i18n/crm_department.pot
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-01-24 13:47+0000\n"
-"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"POT-Creation-Date: 2015-05-27 08:51+0000\n"
+"PO-Revision-Date: 2015-05-27 08:51+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -30,6 +30,26 @@ msgstr ""
 msgid "Created on"
 msgstr ""
 
+#. module: crm_department
+#: view:crm.lead:crm_department.crm_case_form_view_leads_department
+#: view:crm.lead:crm_department.crm_case_form_view_oppor_department
+#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
+#: field:crm.lead,department:0
+#: model:ir.model,name:crm_department.model_crm_department
+#: view:res.partner:crm_department.view_partner_form_department
+#: view:res.partner:crm_department.view_res_partner_filter_department
+#: field:res.partner,department:0
+msgid "Department"
+msgstr ""
+
+#. module: crm_department
+#: view:crm.department:crm_department.crm_department_tree_view
+#: model:ir.actions.act_window,name:crm_department.crm_department_action
+#: model:ir.ui.menu,name:crm_department.menu_crm_department
+msgid "Departments"
+msgstr ""
+
 #. module: crm_department
 #: field:crm.department,id:0
 msgid "ID"
@@ -45,6 +65,11 @@ msgstr ""
 msgid "Last Updated on"
 msgstr ""
 
+#. module: crm_department
+#: model:ir.model,name:crm_department.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr ""
+
 #. module: crm_department
 #: field:crm.department,name:0
 msgid "Name"
@@ -65,20 +90,19 @@ msgstr ""
 msgid "Parent id"
 msgstr ""
 
+#. module: crm_department
+#: model:ir.model,name:crm_department.model_res_partner
+msgid "Partner"
+msgstr ""
+
 #. module: crm_department
 #: view:crm.lead:crm_department.view_crm_case_leads_filter_department
 #: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
-#: field:crm.lead,department:0
-#: model:ir.model,name:crm_department.model_crm_department
-#: view:res.partner:crm_department.view_res_partner_filter_department
-#: field:res.partner,department:0
-msgid "Department"
+msgid "Sales Team"
 msgstr ""
 
 #. module: crm_department
-#: view:crm.department:crm_department.crm_department_tree_view
-#: model:ir.actions.act_window,name:crm_department.crm_department_action
-#: model:ir.ui.menu,name:crm_department.menu_crm_department
-msgid "Departments"
+#: view:res.partner:crm_department.view_res_partner_filter_department
+msgid "Salesperson"
 msgstr ""
 
diff --git a/crm_department/i18n/es.po b/crm_department/i18n/es.po
index 0516eca84..1620205a7 100644
--- a/crm_department/i18n/es.po
+++ b/crm_department/i18n/es.po
@@ -1,13 +1,13 @@
 # Translation of Odoo Server.
 # This file contains the translation of the following modules:
-#	* crm_department
+#   * crm_department
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-01-24 13:47+0000\n"
-"PO-Revision-Date: 2015-01-24 13:47+0000\n"
+"POT-Creation-Date: 2015-05-27 08:51+0000\n"
+"PO-Revision-Date: 2015-05-27 08:51+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -30,6 +30,26 @@ msgstr "Creado por"
 msgid "Created on"
 msgstr "Creado en"
 
+#. module: crm_department
+#: view:crm.lead:crm_department.crm_case_form_view_leads_department
+#: view:crm.lead:crm_department.crm_case_form_view_oppor_department
+#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
+#: field:crm.lead,department:0
+#: model:ir.model,name:crm_department.model_crm_department
+#: view:res.partner:crm_department.view_partner_form_department
+#: view:res.partner:crm_department.view_res_partner_filter_department
+#: field:res.partner,department:0
+msgid "Department"
+msgstr "Departamento"
+
+#. module: crm_department
+#: view:crm.department:crm_department.crm_department_tree_view
+#: model:ir.actions.act_window,name:crm_department.crm_department_action
+#: model:ir.ui.menu,name:crm_department.menu_crm_department
+msgid "Departments"
+msgstr "Departamentos"
+
 #. module: crm_department
 #: field:crm.department,id:0
 msgid "ID"
@@ -45,6 +65,11 @@ msgstr "Última actualización por"
 msgid "Last Updated on"
 msgstr "Última actualización en"
 
+#. module: crm_department
+#: model:ir.model,name:crm_department.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Iniciativa/Oportunidad"
+
 #. module: crm_department
 #: field:crm.department,name:0
 msgid "Name"
@@ -53,32 +78,31 @@ msgstr "Nombre"
 #. module: crm_department
 #: field:crm.department,parent_left:0
 msgid "Parent Left"
-msgstr "Padre izquierdo"
+msgstr "Padre Izquierdo"
 
 #. module: crm_department
 #: field:crm.department,parent_right:0
 msgid "Parent Right"
-msgstr "Padre derecho"
+msgstr "Padre Derecho"
 
 #. module: crm_department
 #: field:crm.department,parent_id:0
 msgid "Parent id"
-msgstr "ID del padre"
+msgstr "ID Padre"
+
+#. module: crm_department
+#: model:ir.model,name:crm_department.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
 
 #. module: crm_department
 #: view:crm.lead:crm_department.view_crm_case_leads_filter_department
 #: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
-#: field:crm.lead,department:0
-#: model:ir.model,name:crm_department.model_crm_department
-#: view:res.partner:crm_department.view_res_partner_filter_department
-#: field:res.partner,department:0
-msgid "Department"
-msgstr "Departamento"
+msgid "Sales Team"
+msgstr "Equipo de ventas"
 
 #. module: crm_department
-#: view:crm.department:crm_department.crm_department_tree_view
-#: model:ir.actions.act_window,name:crm_department.crm_department_action
-#: model:ir.ui.menu,name:crm_department.menu_crm_department
-msgid "Departments"
-msgstr "Departamentos"
+#: view:res.partner:crm_department.view_res_partner_filter_department
+msgid "Salesperson"
+msgstr "Comercial"
 

From 368fafb379a261db1b4580e123a3f1dd696f3b02 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antespi@gmail.com>
Date: Wed, 1 Jul 2015 13:32:14 +0200
Subject: [PATCH 48/58] Renaming several views to complain best practices

---
 crm_department/views/crm_lead_view.xml | 42 +++++---------------------
 1 file changed, 8 insertions(+), 34 deletions(-)

diff --git a/crm_department/views/crm_lead_view.xml b/crm_department/views/crm_lead_view.xml
index c934eedd0..6b4d289af 100644
--- a/crm_department/views/crm_lead_view.xml
+++ b/crm_department/views/crm_lead_view.xml
@@ -2,8 +2,8 @@
 <openerp>
 <data>
 
-<record model="ir.ui.view" id="crm_case_form_view_leads_department">
-    <field name="name">CRM - Leads Form with department</field>
+<record model="ir.ui.view" id="crm_case_form_view_leads">
+    <field name="name">Add department field</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
     <field name="arch" type="xml">
@@ -15,21 +15,8 @@
     </field>
 </record>
 
-<!-- Uncomment this to add a new column to tree view
-<record model="ir.ui.view" id="crm_case_tree_view_leads_department">
-    <field name="name">Leads with department</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_tree_view_leads"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="department"/>
-        </field>
-    </field>
-</record>
--->
-
-<record model="ir.ui.view" id="view_crm_case_leads_filter_department">
-    <field name="name">CRM - Leads Search with departments</field>
+<record model="ir.ui.view" id="view_crm_case_leads_filter">
+    <field name="name">Add department field for searching and grouping</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
     <field name="arch" type="xml">
@@ -44,8 +31,8 @@
     </field>
 </record>
 
-<record model="ir.ui.view" id="crm_case_form_view_oppor_department">
-    <field name="name">CRM - Leads Form with department</field>
+<record model="ir.ui.view" id="crm_case_form_view_oppor">
+    <field name="name">Add department field</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
     <field name="arch" type="xml">
@@ -57,21 +44,8 @@
     </field>
 </record>
 
-<!-- Uncomment this to add a new column to tree view
-<record model="ir.ui.view" id="crm_case_tree_view_oppor_department">
-    <field name="name">Leads with department</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="department"/>
-        </field>
-    </field>
-</record>
--->
-
-<record model="ir.ui.view" id="view_crm_case_opportunities_filter_department">
-    <field name="name">CRM - Leads Search with departments</field>
+<record model="ir.ui.view" id="view_crm_case_opportunities_filter">
+    <field name="name">Add department field for searching and grouping</field>
     <field name="model">crm.lead</field>
     <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
     <field name="arch" type="xml">

From e40da2e535566e4c60840c9f132782457ca43ea8 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antespi@gmail.com>
Date: Tue, 18 Aug 2015 11:36:11 +0200
Subject: [PATCH 49/58] [FIX] Rename crm_department addon to
 crm_partner_department in order to do not conflict with OCA/department addon
 with the same name

---
 crm_department/README.rst                    |  13 ---
 crm_department/__init__.py                   |   6 --
 crm_department/__openerp__.py                |  42 --------
 crm_department/i18n/crm_department.pot       | 108 -------------------
 crm_department/i18n/es.po                    | 108 -------------------
 crm_department/models/__init__.py            |   8 --
 crm_department/models/crm_department.py      |  20 ----
 crm_department/models/crm_lead.py            |  23 ----
 crm_department/models/res_partner.py         |  11 --
 crm_department/security/ir.model.access.csv  |   5 -
 crm_department/static/description/icon.png   | Bin 22620 -> 0 bytes
 crm_department/views/crm_department_view.xml |  30 ------
 crm_department/views/crm_lead_view.xml       |  64 -----------
 crm_department/views/res_partner_view.xml    |  55 ----------
 14 files changed, 493 deletions(-)
 delete mode 100644 crm_department/README.rst
 delete mode 100644 crm_department/__init__.py
 delete mode 100644 crm_department/__openerp__.py
 delete mode 100644 crm_department/i18n/crm_department.pot
 delete mode 100644 crm_department/i18n/es.po
 delete mode 100644 crm_department/models/__init__.py
 delete mode 100644 crm_department/models/crm_department.py
 delete mode 100644 crm_department/models/crm_lead.py
 delete mode 100644 crm_department/models/res_partner.py
 delete mode 100644 crm_department/security/ir.model.access.csv
 delete mode 100644 crm_department/static/description/icon.png
 delete mode 100644 crm_department/views/crm_department_view.xml
 delete mode 100644 crm_department/views/crm_lead_view.xml
 delete mode 100644 crm_department/views/res_partner_view.xml

diff --git a/crm_department/README.rst b/crm_department/README.rst
deleted file mode 100644
index e9228f523..000000000
--- a/crm_department/README.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-Departments in CRM
-==================
-
-This module adds the concept of department to the CRM main objects (lead,
-opportunity, partner), and propagate them through the workflow.
-
-Credits
-=======
-
-Contributors
-------------
-* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
-* Antonio Espinosa <antonioea@antiun.com>
diff --git a/crm_department/__init__.py b/crm_department/__init__.py
deleted file mode 100644
index 054c8853d..000000000
--- a/crm_department/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-
-from . import models
diff --git a/crm_department/__openerp__.py b/crm_department/__openerp__.py
deleted file mode 100644
index e4372990c..000000000
--- a/crm_department/__openerp__.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-#    OpenERP, Odoo Source Management Solution
-#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
-#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
-#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
-#                       Antonio Espinosa <antonioea@antiun.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/>.
-#
-##############################################################################
-
-{
-    'name': 'Departments in CRM',
-    'version': '1.0',
-    'category': 'Customer Relationship Management',
-    'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
-              'Antiun Ingeniería S.L.',
-    'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
-    'depends': [
-        'crm',
-    ],
-    'data': [
-        'views/crm_department_view.xml',
-        'views/crm_lead_view.xml',
-        'views/res_partner_view.xml',
-        'security/ir.model.access.csv',
-    ],
-    "installable": True,
-}
diff --git a/crm_department/i18n/crm_department.pot b/crm_department/i18n/crm_department.pot
deleted file mode 100644
index 561efa034..000000000
--- a/crm_department/i18n/crm_department.pot
+++ /dev/null
@@ -1,108 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#	* crm_department
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 08:51+0000\n"
-"PO-Revision-Date: 2015-05-27 08:51+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_department
-#: field:crm.department,children:0
-msgid "Children"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,create_uid:0
-msgid "Created by"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,create_date:0
-msgid "Created on"
-msgstr ""
-
-#. module: crm_department
-#: view:crm.lead:crm_department.crm_case_form_view_leads_department
-#: view:crm.lead:crm_department.crm_case_form_view_oppor_department
-#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
-#: field:crm.lead,department:0
-#: model:ir.model,name:crm_department.model_crm_department
-#: view:res.partner:crm_department.view_partner_form_department
-#: view:res.partner:crm_department.view_res_partner_filter_department
-#: field:res.partner,department:0
-msgid "Department"
-msgstr ""
-
-#. module: crm_department
-#: view:crm.department:crm_department.crm_department_tree_view
-#: model:ir.actions.act_window,name:crm_department.crm_department_action
-#: model:ir.ui.menu,name:crm_department.menu_crm_department
-msgid "Departments"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,id:0
-msgid "ID"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,write_uid:0
-msgid "Last Updated by"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,write_date:0
-msgid "Last Updated on"
-msgstr ""
-
-#. module: crm_department
-#: model:ir.model,name:crm_department.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,name:0
-msgid "Name"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,parent_left:0
-msgid "Parent Left"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,parent_right:0
-msgid "Parent Right"
-msgstr ""
-
-#. module: crm_department
-#: field:crm.department,parent_id:0
-msgid "Parent id"
-msgstr ""
-
-#. module: crm_department
-#: model:ir.model,name:crm_department.model_res_partner
-msgid "Partner"
-msgstr ""
-
-#. module: crm_department
-#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
-msgid "Sales Team"
-msgstr ""
-
-#. module: crm_department
-#: view:res.partner:crm_department.view_res_partner_filter_department
-msgid "Salesperson"
-msgstr ""
-
diff --git a/crm_department/i18n/es.po b/crm_department/i18n/es.po
deleted file mode 100644
index 1620205a7..000000000
--- a/crm_department/i18n/es.po
+++ /dev/null
@@ -1,108 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#   * crm_department
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 08:51+0000\n"
-"PO-Revision-Date: 2015-05-27 08:51+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_department
-#: field:crm.department,children:0
-msgid "Children"
-msgstr "Hijos"
-
-#. module: crm_department
-#: field:crm.department,create_uid:0
-msgid "Created by"
-msgstr "Creado por"
-
-#. module: crm_department
-#: field:crm.department,create_date:0
-msgid "Created on"
-msgstr "Creado en"
-
-#. module: crm_department
-#: view:crm.lead:crm_department.crm_case_form_view_leads_department
-#: view:crm.lead:crm_department.crm_case_form_view_oppor_department
-#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
-#: field:crm.lead,department:0
-#: model:ir.model,name:crm_department.model_crm_department
-#: view:res.partner:crm_department.view_partner_form_department
-#: view:res.partner:crm_department.view_res_partner_filter_department
-#: field:res.partner,department:0
-msgid "Department"
-msgstr "Departamento"
-
-#. module: crm_department
-#: view:crm.department:crm_department.crm_department_tree_view
-#: model:ir.actions.act_window,name:crm_department.crm_department_action
-#: model:ir.ui.menu,name:crm_department.menu_crm_department
-msgid "Departments"
-msgstr "Departamentos"
-
-#. module: crm_department
-#: field:crm.department,id:0
-msgid "ID"
-msgstr "ID"
-
-#. module: crm_department
-#: field:crm.department,write_uid:0
-msgid "Last Updated by"
-msgstr "Última actualización por"
-
-#. module: crm_department
-#: field:crm.department,write_date:0
-msgid "Last Updated on"
-msgstr "Última actualización en"
-
-#. module: crm_department
-#: model:ir.model,name:crm_department.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr "Iniciativa/Oportunidad"
-
-#. module: crm_department
-#: field:crm.department,name:0
-msgid "Name"
-msgstr "Nombre"
-
-#. module: crm_department
-#: field:crm.department,parent_left:0
-msgid "Parent Left"
-msgstr "Padre Izquierdo"
-
-#. module: crm_department
-#: field:crm.department,parent_right:0
-msgid "Parent Right"
-msgstr "Padre Derecho"
-
-#. module: crm_department
-#: field:crm.department,parent_id:0
-msgid "Parent id"
-msgstr "ID Padre"
-
-#. module: crm_department
-#: model:ir.model,name:crm_department.model_res_partner
-msgid "Partner"
-msgstr "Empresa"
-
-#. module: crm_department
-#: view:crm.lead:crm_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_department.view_crm_case_opportunities_filter_department
-msgid "Sales Team"
-msgstr "Equipo de ventas"
-
-#. module: crm_department
-#: view:res.partner:crm_department.view_res_partner_filter_department
-msgid "Salesperson"
-msgstr "Comercial"
-
diff --git a/crm_department/models/__init__.py b/crm_department/models/__init__.py
deleted file mode 100644
index 006c33b3b..000000000
--- a/crm_department/models/__init__.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-
-from . import crm_department
-from . import crm_lead
-from . import res_partner
diff --git a/crm_department/models/crm_department.py b/crm_department/models/crm_department.py
deleted file mode 100644
index 71bc4067e..000000000
--- a/crm_department/models/crm_department.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmDepartment(models.Model):
-    _name = 'crm.department'
-    _order = "parent_left"
-    _parent_order = "name"
-    _parent_store = True
-    _description = "Department"
-
-    name = fields.Char(required=True, translate=True)
-    parent_id = fields.Many2one(comodel_name='crm.department')
-    children = fields.One2many(comodel_name='crm.department',
-                               inverse_name='parent_id')
-    parent_left = fields.Integer('Parent Left', select=True)
-    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_department/models/crm_lead.py b/crm_department/models/crm_lead.py
deleted file mode 100644
index 33fa82850..000000000
--- a/crm_department/models/crm_lead.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmLead(models.Model):
-    _inherit = 'crm.lead'
-
-    department = fields.Many2one(comodel_name='crm.department')
-
-    def _lead_create_contact(self, cr, uid, lead, name, is_company,
-                             parent_id=False, context=None):
-        """Propagate department to created partner.
-        """
-        partner_id = super(CrmLead, self)._lead_create_contact(
-            cr, uid, lead, name, is_company, parent_id=parent_id,
-            context=context)
-        self.pool['res.partner'].write(
-            cr, uid, partner_id, {'department': lead.department.id},
-            context=context)
-        return partner_id
diff --git a/crm_department/models/res_partner.py b/crm_department/models/res_partner.py
deleted file mode 100644
index b8c7cd3a8..000000000
--- a/crm_department/models/res_partner.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class ResPartner(models.Model):
-    _inherit = 'res.partner'
-
-    department = fields.Many2one(comodel_name='crm.department')
diff --git a/crm_department/security/ir.model.access.csv b/crm_department/security/ir.model.access.csv
deleted file mode 100644
index dc285f926..000000000
--- a/crm_department/security/ir.model.access.csv
+++ /dev/null
@@ -1,5 +0,0 @@
-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_crm_department_public","crm_department group_public","model_crm_department","base.group_public",1,0,0,0
-"access_crm_department_portal","crm_department group_portal","model_crm_department","base.group_portal",1,0,0,0
-"access_crm_department_group_partner_manager","crm_department group_partner_manager","model_crm_department","base.group_partner_manager",1,1,1,1
-"access_crm_department_group_user","crm_department group_user","model_crm_department","base.group_user",1,0,0,0
diff --git a/crm_department/static/description/icon.png b/crm_department/static/description/icon.png
deleted file mode 100644
index add81b17a4847ff2663923593ecc364587d3dd9f..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 22620
zcmV*6Ky$x|P)<h;3K|Lk000e1NJLTq004jh004jp1^@s6!#-il00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3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(u+MWylQqnCQTDsoi<7+lvWs%=IUly
z#*op{G|rh!=*o4N)+PS_`B6STaG14biY=X097u|+T)C8qiK*`m4-buj*|F-p!9AaS
z^f$j-s+1>ATO$06={$X7Y9`hD4(z|;$kEYjXJ+PBDJicxa^$F;nwrA*Laei*Tq<83
zhCy*|ZuU8AObQXQT(kc2b(fvf8U2fk`^yc}x8msacir?i;tWW`o;?0Puc%<3wgGsH
P00000NkvXXu0mjfiBcmQ

diff --git a/crm_department/views/crm_department_view.xml b/crm_department/views/crm_department_view.xml
deleted file mode 100644
index 981e7d7b7..000000000
--- a/crm_department/views/crm_department_view.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record id="crm_department_action" model="ir.actions.act_window">
-    <field name="name">Departments</field>
-    <field name="res_model">crm.department</field>
-    <field name="view_type">form</field>
-    <field name="view_mode">tree</field>
-</record>
-
-<record id="crm_department_tree_view" model="ir.ui.view">
-    <field name="name">CRM department tree</field>
-    <field name="model">crm.department</field>
-    <field name="arch" type="xml">
-        <tree string="Departments" editable="top">
-            <field name="name"/>
-            <field name="parent_id"/>
-        </tree>
-    </field>
-</record>
-
-<menuitem action="crm_department_action"
-          id="menu_crm_department"
-          name="Departments"
-          parent="base.menu_crm_config_lead"
-          sequence="3"/>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/crm_department/views/crm_lead_view.xml b/crm_department/views/crm_lead_view.xml
deleted file mode 100644
index 6b4d289af..000000000
--- a/crm_department/views/crm_lead_view.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record model="ir.ui.view" id="crm_case_form_view_leads">
-    <field name="name">Add department field</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-    <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"
-                   placeholder="Department"
-                   options='{"no_open": True}'/>
-        </field>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="view_crm_case_leads_filter">
-    <field name="name">Add department field for searching and grouping</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="department"/>
-        </field>
-        <filter string="Sales Team" position="after">
-            <filter string="Department"
-                    domain="[]"
-                    context="{'group_by': 'department'}"/>
-        </filter>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="crm_case_form_view_oppor">
-    <field name="name">Add department field</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-    <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"
-                   placeholder="Department"
-                   options='{"no_open": True}'/>
-        </field>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="view_crm_case_opportunities_filter">
-    <field name="name">Add department field for searching and grouping</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="department"/>
-        </field>
-        <filter string="Sales Team" position="after">
-            <filter string="Department"
-                    domain="[]"
-                    context="{'group_by': 'department'}"/>
-        </filter>
-    </field>
-</record>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/crm_department/views/res_partner_view.xml b/crm_department/views/res_partner_view.xml
deleted file mode 100644
index 8856abd93..000000000
--- a/crm_department/views/res_partner_view.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record model="ir.ui.view" id="view_partner_form_department">
-    <field name="name">Partner form with department</field>
-    <field name="model">res.partner</field>
-    <field name="inherit_id" ref="base.view_partner_form"/>
-    <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"
-                   placeholder="Department"
-                   attrs="{'invisible': [('is_company','=', True)]}"
-                   options='{"no_open": True}'/>
-        </field>
-        <xpath expr="//field[@name='child_ids']/form//field[@name='phone']" position="before">
-            <field name="department"
-                   placeholder="Department"
-                   attrs="{'invisible': [('is_company','=', True)]}"
-                   options='{"no_open": True}'/>
-        </xpath>
-    </field>
-</record>
-
-<!-- Uncomment this to add a new column to tree view
-<record model="ir.ui.view" id="view_partner_tree_department">
-    <field name="name">Partner tree with department</field>
-    <field name="model">res.partner</field>
-    <field name="inherit_id" ref="base.view_partner_tree"/>
-    <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"/>
-        </field>
-    </field>
-</record>
--->
-
-<record model="ir.ui.view" id="view_res_partner_filter_department">
-    <field name="name">Partner search with department</field>
-    <field name="model">res.partner</field>
-    <field name="inherit_id" ref="base.view_res_partner_filter"/>
-    <field name="arch" type="xml">
-        <field name="category_id" position="after">
-            <field name="department"/>
-        </field>
-        <filter string="Salesperson" position="after">
-            <filter string="Department"
-                    domain="[('is_company', '=', False)]"
-                    context="{'group_by': 'department'}"/>
-        </filter>
-    </field>
-</record>
-
-</data>
-</openerp>
\ No newline at end of file

From c322344eb8a806640d5be93bd828a7ec065385e4 Mon Sep 17 00:00:00 2001
From: Antonio Espinosa <antespi@gmail.com>
Date: Tue, 18 Aug 2015 11:36:11 +0200
Subject: [PATCH 50/58] [FIX] Rename crm_department addon to
 crm_partner_department in order to do not conflict with OCA/department addon
 with the same name

---
 crm_partner_department/README.rst             |  19 +++
 crm_partner_department/__init__.py            |   6 +
 crm_partner_department/__openerp__.py         |  42 +++++++
 .../i18n/crm_department.pot                   | 108 ++++++++++++++++++
 crm_partner_department/i18n/es.po             | 108 ++++++++++++++++++
 crm_partner_department/models/__init__.py     |   8 ++
 .../models/crm_department.py                  |  20 ++++
 crm_partner_department/models/crm_lead.py     |  23 ++++
 crm_partner_department/models/res_partner.py  |  11 ++
 .../security/ir.model.access.csv              |   5 +
 .../static/description/icon.png               | Bin 0 -> 22620 bytes
 .../views/crm_department_view.xml             |  30 +++++
 .../views/crm_lead_view.xml                   |  64 +++++++++++
 .../views/res_partner_view.xml                |  55 +++++++++
 14 files changed, 499 insertions(+)
 create mode 100644 crm_partner_department/README.rst
 create mode 100644 crm_partner_department/__init__.py
 create mode 100644 crm_partner_department/__openerp__.py
 create mode 100644 crm_partner_department/i18n/crm_department.pot
 create mode 100644 crm_partner_department/i18n/es.po
 create mode 100644 crm_partner_department/models/__init__.py
 create mode 100644 crm_partner_department/models/crm_department.py
 create mode 100644 crm_partner_department/models/crm_lead.py
 create mode 100644 crm_partner_department/models/res_partner.py
 create mode 100644 crm_partner_department/security/ir.model.access.csv
 create mode 100644 crm_partner_department/static/description/icon.png
 create mode 100644 crm_partner_department/views/crm_department_view.xml
 create mode 100644 crm_partner_department/views/crm_lead_view.xml
 create mode 100644 crm_partner_department/views/res_partner_view.xml

diff --git a/crm_partner_department/README.rst b/crm_partner_department/README.rst
new file mode 100644
index 000000000..34548936e
--- /dev/null
+++ b/crm_partner_department/README.rst
@@ -0,0 +1,19 @@
+Department field in CRM contact
+===============================
+
+This module adds the concept of department to the CRM main objects (lead,
+opportunity, partner), and propagate them through the workflow.
+
+Department is a drop-down field in lead, opportunity and partner forms. It
+refers to contact department in its own company
+
+Departments available list must be defined first at
+Sales > Configuration > Leads & Opportunities > Departments
+
+Credits
+=======
+
+Contributors
+------------
+* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+* Antonio Espinosa <antonioea@antiun.com>
diff --git a/crm_partner_department/__init__.py b/crm_partner_department/__init__.py
new file mode 100644
index 000000000..054c8853d
--- /dev/null
+++ b/crm_partner_department/__init__.py
@@ -0,0 +1,6 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import models
diff --git a/crm_partner_department/__openerp__.py b/crm_partner_department/__openerp__.py
new file mode 100644
index 000000000..7f60aebbd
--- /dev/null
+++ b/crm_partner_department/__openerp__.py
@@ -0,0 +1,42 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Odoo Source Management Solution
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.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/>.
+#
+##############################################################################
+
+{
+    'name': 'Department field in CRM contact',
+    'version': '1.0',
+    'category': 'Customer Relationship Management',
+    'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
+              'Antiun Ingeniería S.L.',
+    'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
+    'depends': [
+        'crm',
+    ],
+    'data': [
+        'views/crm_department_view.xml',
+        'views/crm_lead_view.xml',
+        'views/res_partner_view.xml',
+        'security/ir.model.access.csv',
+    ],
+    "installable": True,
+}
diff --git a/crm_partner_department/i18n/crm_department.pot b/crm_partner_department/i18n/crm_department.pot
new file mode 100644
index 000000000..9a33d3ef9
--- /dev/null
+++ b/crm_partner_department/i18n/crm_department.pot
@@ -0,0 +1,108 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* crm_partner_department
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-05-27 08:51+0000\n"
+"PO-Revision-Date: 2015-05-27 08:51+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_partner_department
+#: field:crm.department,children:0
+msgid "Children"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: crm_partner_department
+#: view:crm.lead:crm_partner_department.crm_case_form_view_leads_department
+#: view:crm.lead:crm_partner_department.crm_case_form_view_oppor_department
+#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
+#: field:crm.lead,department:0
+#: model:ir.model,name:crm_partner_department.model_crm_department
+#: view:res.partner:crm_partner_department.view_partner_form_department
+#: view:res.partner:crm_partner_department.view_res_partner_filter_department
+#: field:res.partner,department:0
+msgid "Department"
+msgstr ""
+
+#. module: crm_partner_department
+#: view:crm.department:crm_partner_department.crm_department_tree_view
+#: model:ir.actions.act_window,name:crm_partner_department.crm_department_action
+#: model:ir.ui.menu,name:crm_partner_department.menu_crm_department
+msgid "Departments"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,id:0
+msgid "ID"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: crm_partner_department
+#: model:ir.model,name:crm_partner_department.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,name:0
+msgid "Name"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,parent_left:0
+msgid "Parent Left"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,parent_right:0
+msgid "Parent Right"
+msgstr ""
+
+#. module: crm_partner_department
+#: field:crm.department,parent_id:0
+msgid "Parent id"
+msgstr ""
+
+#. module: crm_partner_department
+#: model:ir.model,name:crm_partner_department.model_res_partner
+msgid "Partner"
+msgstr ""
+
+#. module: crm_partner_department
+#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
+msgid "Sales Team"
+msgstr ""
+
+#. module: crm_partner_department
+#: view:res.partner:crm_partner_department.view_res_partner_filter_department
+msgid "Salesperson"
+msgstr ""
+
diff --git a/crm_partner_department/i18n/es.po b/crm_partner_department/i18n/es.po
new file mode 100644
index 000000000..2c519e3c8
--- /dev/null
+++ b/crm_partner_department/i18n/es.po
@@ -0,0 +1,108 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#   * crm_partner_department
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-05-27 08:51+0000\n"
+"PO-Revision-Date: 2015-05-27 08:51+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_partner_department
+#: field:crm.department,children:0
+msgid "Children"
+msgstr "Hijos"
+
+#. module: crm_partner_department
+#: field:crm.department,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: crm_partner_department
+#: field:crm.department,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: crm_partner_department
+#: view:crm.lead:crm_partner_department.crm_case_form_view_leads_department
+#: view:crm.lead:crm_partner_department.crm_case_form_view_oppor_department
+#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
+#: field:crm.lead,department:0
+#: model:ir.model,name:crm_partner_department.model_crm_department
+#: view:res.partner:crm_partner_department.view_partner_form_department
+#: view:res.partner:crm_partner_department.view_res_partner_filter_department
+#: field:res.partner,department:0
+msgid "Department"
+msgstr "Departamento"
+
+#. module: crm_partner_department
+#: view:crm.department:crm_partner_department.crm_department_tree_view
+#: model:ir.actions.act_window,name:crm_partner_department.crm_department_action
+#: model:ir.ui.menu,name:crm_partner_department.menu_crm_department
+msgid "Departments"
+msgstr "Departamentos"
+
+#. module: crm_partner_department
+#: field:crm.department,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: crm_partner_department
+#: field:crm.department,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: crm_partner_department
+#: field:crm.department,write_date:0
+msgid "Last Updated on"
+msgstr "Última actualización en"
+
+#. module: crm_partner_department
+#: model:ir.model,name:crm_partner_department.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Iniciativa/Oportunidad"
+
+#. module: crm_partner_department
+#: field:crm.department,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: crm_partner_department
+#: field:crm.department,parent_left:0
+msgid "Parent Left"
+msgstr "Padre Izquierdo"
+
+#. module: crm_partner_department
+#: field:crm.department,parent_right:0
+msgid "Parent Right"
+msgstr "Padre Derecho"
+
+#. module: crm_partner_department
+#: field:crm.department,parent_id:0
+msgid "Parent id"
+msgstr "ID Padre"
+
+#. module: crm_partner_department
+#: model:ir.model,name:crm_partner_department.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: crm_partner_department
+#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
+#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
+msgid "Sales Team"
+msgstr "Equipo de ventas"
+
+#. module: crm_partner_department
+#: view:res.partner:crm_partner_department.view_res_partner_filter_department
+msgid "Salesperson"
+msgstr "Comercial"
+
diff --git a/crm_partner_department/models/__init__.py b/crm_partner_department/models/__init__.py
new file mode 100644
index 000000000..006c33b3b
--- /dev/null
+++ b/crm_partner_department/models/__init__.py
@@ -0,0 +1,8 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+
+from . import crm_department
+from . import crm_lead
+from . import res_partner
diff --git a/crm_partner_department/models/crm_department.py b/crm_partner_department/models/crm_department.py
new file mode 100644
index 000000000..71bc4067e
--- /dev/null
+++ b/crm_partner_department/models/crm_department.py
@@ -0,0 +1,20 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmDepartment(models.Model):
+    _name = 'crm.department'
+    _order = "parent_left"
+    _parent_order = "name"
+    _parent_store = True
+    _description = "Department"
+
+    name = fields.Char(required=True, translate=True)
+    parent_id = fields.Many2one(comodel_name='crm.department')
+    children = fields.One2many(comodel_name='crm.department',
+                               inverse_name='parent_id')
+    parent_left = fields.Integer('Parent Left', select=True)
+    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/crm_partner_department/models/crm_lead.py b/crm_partner_department/models/crm_lead.py
new file mode 100644
index 000000000..33fa82850
--- /dev/null
+++ b/crm_partner_department/models/crm_lead.py
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class CrmLead(models.Model):
+    _inherit = 'crm.lead'
+
+    department = fields.Many2one(comodel_name='crm.department')
+
+    def _lead_create_contact(self, cr, uid, lead, name, is_company,
+                             parent_id=False, context=None):
+        """Propagate department to created partner.
+        """
+        partner_id = super(CrmLead, self)._lead_create_contact(
+            cr, uid, lead, name, is_company, parent_id=parent_id,
+            context=context)
+        self.pool['res.partner'].write(
+            cr, uid, partner_id, {'department': lead.department.id},
+            context=context)
+        return partner_id
diff --git a/crm_partner_department/models/res_partner.py b/crm_partner_department/models/res_partner.py
new file mode 100644
index 000000000..b8c7cd3a8
--- /dev/null
+++ b/crm_partner_department/models/res_partner.py
@@ -0,0 +1,11 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+# For copyright and license notices, see __openerp__.py file in root directory
+##############################################################################
+from openerp import models, fields
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+
+    department = fields.Many2one(comodel_name='crm.department')
diff --git a/crm_partner_department/security/ir.model.access.csv b/crm_partner_department/security/ir.model.access.csv
new file mode 100644
index 000000000..dc285f926
--- /dev/null
+++ b/crm_partner_department/security/ir.model.access.csv
@@ -0,0 +1,5 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_crm_department_public","crm_department group_public","model_crm_department","base.group_public",1,0,0,0
+"access_crm_department_portal","crm_department group_portal","model_crm_department","base.group_portal",1,0,0,0
+"access_crm_department_group_partner_manager","crm_department group_partner_manager","model_crm_department","base.group_partner_manager",1,1,1,1
+"access_crm_department_group_user","crm_department group_user","model_crm_department","base.group_user",1,0,0,0
diff --git a/crm_partner_department/static/description/icon.png b/crm_partner_department/static/description/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..add81b17a4847ff2663923593ecc364587d3dd9f
GIT binary patch
literal 22620
zcmV*6Ky$x|P)<h;3K|Lk000e1NJLTq004jh004jp1^@s6!#-il00006VoOIv0RI60
z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-vJm4Dh>npTvPx6AOJ~3
zK~#9!?7exMTvv7P``vq=Q*(Fq+^u<RS&}Uw%aV<4AjI(?gTXd42^nq(L<Fpa%aDOf
zxFG|{!<XF15QGB+!VnA?V~mY#uw`t(lWfbDWX)4cJ*m}Gbxo(v*?Ye~&Z(&-czK`C
z`$Y1)DSi5*?yl+@&f07Gt>0Qp@L#v;O>Et|RRFSYWLN;SfB949x)Job9{lXvZgnpE
z_B|S~FY6Eef0Bf)wc?ID?hpVg_rD|#j*bd|y${@DKVLexpaIa<`THL~lwNr1WYRAc
z%fEZumMH+c0wE5DPyJs9;6l22h^=4PDpssmAr2lqDCAFfaM8|Qdu@E15eI*{u<jf?
zm`*?O;v9D(zt|Rv%SExY!p`Iu+k9z0g<_j5mJ)cCiWTZWN%Fbh`}Z$DV67GV_U&_4
zty*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217KqEh*&zb(ybjC
z9tGC_<>Ozyr_qTvj2@l5G-{`4S<D!>A_lUA(FvKcZ1OJB0xs`_qrxqIij&Wfg)ni)
z6GxdB3}pW3xuGtee7C5vlr8r#Qwhm^mkbe7w0PIMR=>7>{rR8&=mU5EgAgM9X$n-o
z7>maDU)*``bI))7<ME?&>zxagaUFbL62~!8DopB7>Su2vNhD6B*tEu%_U_<wdW>N+
z%@3!S^HM87=eLW6Nza2PNi!V-B{l7Konl$zT$-+4w_@xAAH4Oq?|<OtZ@%3M<uAsY
zjDPs%_pjNrd;cAssB`c9eCx_iJ3)#7Aw8@;xj6LW=|v04<RT)fL|}!%m_EL=dpn=^
zj<L+lWC73&&^Uzb8Ey9@m$Qt+m<~hBJ*u_Rt9^Z?|9A6yuix~chj0Jxsg|gJF@C~0
zJT^Q0kKcOcBge)je{*(b?!q*c2&W}dU`&cqUT%VEky7Q7bOz@fN~ui9DgVZ;F({QA
zBnU&xRrvDuy*yeRWmPi9bJHu?(k_BEXq6o^Qi71iSr?n(;lYEq+;YP=?z#8cKU}kJ
zc=~koD1I^C#&~u6_H$p|a^R}@di~;dySYA2(u+MWylQqnCQTDsoi<7+lvWs%=IUly
z#*op{G|rh!=*o4N)+PS_`B6STaG14biY=X097u|+T)C8qiK*`m4-buj*|F-p!9AaS
z^f$j-s+1>ATO$06={$X7Y9`hD4(z|;$kEYjXJ+PBDJicxa^$F;nwrA*Laei*Tq<83
zhCy*|ZuU8AObQXQT(kc2b(fvf8U2fk`^yc}x8msacir?i;tWW`o;?0Puc%<3wgGsH
P00000NkvXXu0mjfiBcmQ

literal 0
HcmV?d00001

diff --git a/crm_partner_department/views/crm_department_view.xml b/crm_partner_department/views/crm_department_view.xml
new file mode 100644
index 000000000..981e7d7b7
--- /dev/null
+++ b/crm_partner_department/views/crm_department_view.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data>
+
+<record id="crm_department_action" model="ir.actions.act_window">
+    <field name="name">Departments</field>
+    <field name="res_model">crm.department</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
+
+<record id="crm_department_tree_view" model="ir.ui.view">
+    <field name="name">CRM department tree</field>
+    <field name="model">crm.department</field>
+    <field name="arch" type="xml">
+        <tree string="Departments" editable="top">
+            <field name="name"/>
+            <field name="parent_id"/>
+        </tree>
+    </field>
+</record>
+
+<menuitem action="crm_department_action"
+          id="menu_crm_department"
+          name="Departments"
+          parent="base.menu_crm_config_lead"
+          sequence="3"/>
+
+</data>
+</openerp>
\ No newline at end of file
diff --git a/crm_partner_department/views/crm_lead_view.xml b/crm_partner_department/views/crm_lead_view.xml
new file mode 100644
index 000000000..6b4d289af
--- /dev/null
+++ b/crm_partner_department/views/crm_lead_view.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data>
+
+<record model="ir.ui.view" id="crm_case_form_view_leads">
+    <field name="name">Add department field</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"
+                   placeholder="Department"
+                   options='{"no_open": True}'/>
+        </field>
+    </field>
+</record>
+
+<record model="ir.ui.view" id="view_crm_case_leads_filter">
+    <field name="name">Add department field for searching and grouping</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="department"/>
+        </field>
+        <filter string="Sales Team" position="after">
+            <filter string="Department"
+                    domain="[]"
+                    context="{'group_by': 'department'}"/>
+        </filter>
+    </field>
+</record>
+
+<record model="ir.ui.view" id="crm_case_form_view_oppor">
+    <field name="name">Add department field</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"
+                   placeholder="Department"
+                   options='{"no_open": True}'/>
+        </field>
+    </field>
+</record>
+
+<record model="ir.ui.view" id="view_crm_case_opportunities_filter">
+    <field name="name">Add department field for searching and grouping</field>
+    <field name="model">crm.lead</field>
+    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
+    <field name="arch" type="xml">
+        <field name="section_id" position="after">
+            <field name="department"/>
+        </field>
+        <filter string="Sales Team" position="after">
+            <filter string="Department"
+                    domain="[]"
+                    context="{'group_by': 'department'}"/>
+        </filter>
+    </field>
+</record>
+
+</data>
+</openerp>
\ No newline at end of file
diff --git a/crm_partner_department/views/res_partner_view.xml b/crm_partner_department/views/res_partner_view.xml
new file mode 100644
index 000000000..8856abd93
--- /dev/null
+++ b/crm_partner_department/views/res_partner_view.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data>
+
+<record model="ir.ui.view" id="view_partner_form_department">
+    <field name="name">Partner form with department</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_form"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"
+                   placeholder="Department"
+                   attrs="{'invisible': [('is_company','=', True)]}"
+                   options='{"no_open": True}'/>
+        </field>
+        <xpath expr="//field[@name='child_ids']/form//field[@name='phone']" position="before">
+            <field name="department"
+                   placeholder="Department"
+                   attrs="{'invisible': [('is_company','=', True)]}"
+                   options='{"no_open": True}'/>
+        </xpath>
+    </field>
+</record>
+
+<!-- Uncomment this to add a new column to tree view
+<record model="ir.ui.view" id="view_partner_tree_department">
+    <field name="name">Partner tree with department</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_partner_tree"/>
+    <field name="arch" type="xml">
+        <field name="phone" position="before">
+            <field name="department"/>
+        </field>
+    </field>
+</record>
+-->
+
+<record model="ir.ui.view" id="view_res_partner_filter_department">
+    <field name="name">Partner search with department</field>
+    <field name="model">res.partner</field>
+    <field name="inherit_id" ref="base.view_res_partner_filter"/>
+    <field name="arch" type="xml">
+        <field name="category_id" position="after">
+            <field name="department"/>
+        </field>
+        <filter string="Salesperson" position="after">
+            <filter string="Department"
+                    domain="[('is_company', '=', False)]"
+                    context="{'group_by': 'department'}"/>
+        </filter>
+    </field>
+</record>
+
+</data>
+</openerp>
\ No newline at end of file

From 024e3b704b1a983112add8cf533f8ba89af9c339 Mon Sep 17 00:00:00 2001
From: "Pedro M. Baeza" <pedro.baeza@gmail.com>
Date: Tue, 8 Dec 2015 09:32:46 +0100
Subject: [PATCH 51/58] [FIX] Author

---
 crm_partner_department/__openerp__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crm_partner_department/__openerp__.py b/crm_partner_department/__openerp__.py
index 7f60aebbd..4ffb8fe2b 100644
--- a/crm_partner_department/__openerp__.py
+++ b/crm_partner_department/__openerp__.py
@@ -26,7 +26,7 @@
     'name': 'Department field in CRM contact',
     'version': '1.0',
     'category': 'Customer Relationship Management',
-    'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, '
+    'author': 'Serv. Tecnol. Avanzados - Pedro M. Baeza, '
               'Antiun Ingeniería S.L.',
     'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
     'depends': [

From 21df0dd26beb4df201993bc94e490af782f42fec Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Mon, 21 Dec 2015 17:25:01 +0100
Subject: [PATCH 52/58] Rename to partner_contact_department.

---
 .../README.rst                                      |   0
 .../__init__.py                                     |   0
 .../__openerp__.py                                  |   0
 .../i18n/crm_department.pot                         |   0
 .../i18n/es.po                                      |   0
 .../models/__init__.py                              |   0
 .../models/crm_department.py                        |   0
 .../models/crm_lead.py                              |   0
 .../models/res_partner.py                           |   0
 .../security/ir.model.access.csv                    |   0
 .../static/description/icon.png                     | Bin
 .../views/crm_department_view.xml                   |   0
 .../views/crm_lead_view.xml                         |   0
 .../views/res_partner_view.xml                      |   0
 14 files changed, 0 insertions(+), 0 deletions(-)
 rename {crm_partner_department => partner_contact_department}/README.rst (100%)
 rename {crm_partner_department => partner_contact_department}/__init__.py (100%)
 rename {crm_partner_department => partner_contact_department}/__openerp__.py (100%)
 rename {crm_partner_department => partner_contact_department}/i18n/crm_department.pot (100%)
 rename {crm_partner_department => partner_contact_department}/i18n/es.po (100%)
 rename {crm_partner_department => partner_contact_department}/models/__init__.py (100%)
 rename {crm_partner_department => partner_contact_department}/models/crm_department.py (100%)
 rename {crm_partner_department => partner_contact_department}/models/crm_lead.py (100%)
 rename {crm_partner_department => partner_contact_department}/models/res_partner.py (100%)
 rename {crm_partner_department => partner_contact_department}/security/ir.model.access.csv (100%)
 rename {crm_partner_department => partner_contact_department}/static/description/icon.png (100%)
 rename {crm_partner_department => partner_contact_department}/views/crm_department_view.xml (100%)
 rename {crm_partner_department => partner_contact_department}/views/crm_lead_view.xml (100%)
 rename {crm_partner_department => partner_contact_department}/views/res_partner_view.xml (100%)

diff --git a/crm_partner_department/README.rst b/partner_contact_department/README.rst
similarity index 100%
rename from crm_partner_department/README.rst
rename to partner_contact_department/README.rst
diff --git a/crm_partner_department/__init__.py b/partner_contact_department/__init__.py
similarity index 100%
rename from crm_partner_department/__init__.py
rename to partner_contact_department/__init__.py
diff --git a/crm_partner_department/__openerp__.py b/partner_contact_department/__openerp__.py
similarity index 100%
rename from crm_partner_department/__openerp__.py
rename to partner_contact_department/__openerp__.py
diff --git a/crm_partner_department/i18n/crm_department.pot b/partner_contact_department/i18n/crm_department.pot
similarity index 100%
rename from crm_partner_department/i18n/crm_department.pot
rename to partner_contact_department/i18n/crm_department.pot
diff --git a/crm_partner_department/i18n/es.po b/partner_contact_department/i18n/es.po
similarity index 100%
rename from crm_partner_department/i18n/es.po
rename to partner_contact_department/i18n/es.po
diff --git a/crm_partner_department/models/__init__.py b/partner_contact_department/models/__init__.py
similarity index 100%
rename from crm_partner_department/models/__init__.py
rename to partner_contact_department/models/__init__.py
diff --git a/crm_partner_department/models/crm_department.py b/partner_contact_department/models/crm_department.py
similarity index 100%
rename from crm_partner_department/models/crm_department.py
rename to partner_contact_department/models/crm_department.py
diff --git a/crm_partner_department/models/crm_lead.py b/partner_contact_department/models/crm_lead.py
similarity index 100%
rename from crm_partner_department/models/crm_lead.py
rename to partner_contact_department/models/crm_lead.py
diff --git a/crm_partner_department/models/res_partner.py b/partner_contact_department/models/res_partner.py
similarity index 100%
rename from crm_partner_department/models/res_partner.py
rename to partner_contact_department/models/res_partner.py
diff --git a/crm_partner_department/security/ir.model.access.csv b/partner_contact_department/security/ir.model.access.csv
similarity index 100%
rename from crm_partner_department/security/ir.model.access.csv
rename to partner_contact_department/security/ir.model.access.csv
diff --git a/crm_partner_department/static/description/icon.png b/partner_contact_department/static/description/icon.png
similarity index 100%
rename from crm_partner_department/static/description/icon.png
rename to partner_contact_department/static/description/icon.png
diff --git a/crm_partner_department/views/crm_department_view.xml b/partner_contact_department/views/crm_department_view.xml
similarity index 100%
rename from crm_partner_department/views/crm_department_view.xml
rename to partner_contact_department/views/crm_department_view.xml
diff --git a/crm_partner_department/views/crm_lead_view.xml b/partner_contact_department/views/crm_lead_view.xml
similarity index 100%
rename from crm_partner_department/views/crm_lead_view.xml
rename to partner_contact_department/views/crm_lead_view.xml
diff --git a/crm_partner_department/views/res_partner_view.xml b/partner_contact_department/views/res_partner_view.xml
similarity index 100%
rename from crm_partner_department/views/res_partner_view.xml
rename to partner_contact_department/views/res_partner_view.xml

From 4a1c1d4e6d0396902bfb33fa511a968579c3f8e6 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Mon, 21 Dec 2015 17:27:10 +0100
Subject: [PATCH 53/58] Prepare for OCA.

- Update translation.
- Reduce garbage code.
- Update license and copyright headers.
- Improve README.
- Drop CRM stuff.
---
 partner_contact_department/README.rst         |  71 ++++++++++--
 partner_contact_department/__init__.py        |  11 +-
 partner_contact_department/__openerp__.py     |  41 +++----
 .../i18n/crm_department.pot                   | 108 ------------------
 partner_contact_department/i18n/es.po         | 107 ++++++++---------
 partner_contact_department/models/__init__.py |  13 ++-
 .../models/crm_department.py                  |  20 ----
 partner_contact_department/models/crm_lead.py |  23 ----
 .../models/res_partner.py                     |  37 +++++-
 .../security/ir.model.access.csv              |   8 +-
 .../views/crm_department_view.xml             |  30 -----
 .../views/crm_lead_view.xml                   |  64 -----------
 .../views/res_partner_department_view.xml     |  47 ++++++++
 .../views/res_partner_view.xml                |  36 +++---
 14 files changed, 235 insertions(+), 381 deletions(-)
 delete mode 100644 partner_contact_department/i18n/crm_department.pot
 delete mode 100644 partner_contact_department/models/crm_department.py
 delete mode 100644 partner_contact_department/models/crm_lead.py
 delete mode 100644 partner_contact_department/views/crm_department_view.xml
 delete mode 100644 partner_contact_department/views/crm_lead_view.xml
 create mode 100644 partner_contact_department/views/res_partner_department_view.xml

diff --git a/partner_contact_department/README.rst b/partner_contact_department/README.rst
index 34548936e..d142645b8 100644
--- a/partner_contact_department/README.rst
+++ b/partner_contact_department/README.rst
@@ -1,19 +1,74 @@
-Department field in CRM contact
-===============================
+.. 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
 
-This module adds the concept of department to the CRM main objects (lead,
-opportunity, partner), and propagate them through the workflow.
+==================
+Contact department
+==================
 
-Department is a drop-down field in lead, opportunity and partner forms. It
-refers to contact department in its own company
+This module extends the functionality of the address book to support
+departments.
 
-Departments available list must be defined first at
-Sales > Configuration > Leads & Opportunities > Departments
+Department is a drop-down field in partner forms, and it refers to contact
+department in its own company.
+
+Configuration
+=============
+
+To configure departments, you need to:
+
+* Go to *Sales > Configuration > Address Book > Departments*.
+
+Usage
+=====
+
+To use this module, you need to:
+
+* Go to any partner's form.
+
+.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
+   :alt: Try me on Runbot
+   :target: https://runbot.odoo-community.org/runbot/134/8.0
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues
+<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
+check there if your issue has already been reported. If you spotted it first,
+help us smashing it by providing a detailed and welcomed `feedback
+<https://github.com/OCA/
+partner-contact/issues/new?body=module:%20
+partner_contact_department%0Aversion:%20
+8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
 
 Credits
 =======
 
+Images
+------
+
+* `Antiun Ingeniería S.L. <http://www.antiun.com>`_: Icon.
+
 Contributors
 ------------
+
 * Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
 * Antonio Espinosa <antonioea@antiun.com>
+* Rafael Blasco <rafabn@antiun.com>
+* Jairo Llopis <yajo.sk8@gmail.com>
+
+Maintainer
+----------
+
+.. image:: https://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: https://odoo-community.org
+
+This module is maintained by the OCA.
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+To contribute to this module, please visit https://odoo-community.org.
diff --git a/partner_contact_department/__init__.py b/partner_contact_department/__init__.py
index 054c8853d..9af8488e4 100644
--- a/partner_contact_department/__init__.py
+++ b/partner_contact_department/__init__.py
@@ -1,6 +1,9 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
 from . import models
diff --git a/partner_contact_department/__openerp__.py b/partner_contact_department/__openerp__.py
index 4ffb8fe2b..a5323db87 100644
--- a/partner_contact_department/__openerp__.py
+++ b/partner_contact_department/__openerp__.py
@@ -1,42 +1,29 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-#    OpenERP, Odoo Source Management Solution
+# -*- coding: utf-8 -*-
 #    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
 #                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
 #    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
 #                       Antonio Espinosa <antonioea@antiun.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/>.
-#
-##############################################################################
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
 {
-    'name': 'Department field in CRM contact',
-    'version': '1.0',
+    'name': 'Contact department',
+    "summary": "Assign contacts to departments",
+    'version': '8.0.1.0.0',
     'category': 'Customer Relationship Management',
     'author': 'Serv. Tecnol. Avanzados - Pedro M. Baeza, '
-              'Antiun Ingeniería S.L.',
-    'website': 'http://www.serviciosbaeza.com, http://www.antiun.com',
+              'Antiun Ingeniería S.L., '
+              "Odoo Community Association (OCA)",
+    "license": "AGPL-3",
+    'website': 'http://www.antiun.com',
+    "application": False,
     'depends': [
-        'crm',
+        'base',
     ],
     'data': [
-        'views/crm_department_view.xml',
-        'views/crm_lead_view.xml',
-        'views/res_partner_view.xml',
         'security/ir.model.access.csv',
+        'views/res_partner_department_view.xml',
+        'views/res_partner_view.xml',
     ],
     "installable": True,
 }
diff --git a/partner_contact_department/i18n/crm_department.pot b/partner_contact_department/i18n/crm_department.pot
deleted file mode 100644
index 9a33d3ef9..000000000
--- a/partner_contact_department/i18n/crm_department.pot
+++ /dev/null
@@ -1,108 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-#	* crm_partner_department
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Odoo Server 8.0\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 08:51+0000\n"
-"PO-Revision-Date: 2015-05-27 08:51+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: crm_partner_department
-#: field:crm.department,children:0
-msgid "Children"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,create_uid:0
-msgid "Created by"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,create_date:0
-msgid "Created on"
-msgstr ""
-
-#. module: crm_partner_department
-#: view:crm.lead:crm_partner_department.crm_case_form_view_leads_department
-#: view:crm.lead:crm_partner_department.crm_case_form_view_oppor_department
-#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
-#: field:crm.lead,department:0
-#: model:ir.model,name:crm_partner_department.model_crm_department
-#: view:res.partner:crm_partner_department.view_partner_form_department
-#: view:res.partner:crm_partner_department.view_res_partner_filter_department
-#: field:res.partner,department:0
-msgid "Department"
-msgstr ""
-
-#. module: crm_partner_department
-#: view:crm.department:crm_partner_department.crm_department_tree_view
-#: model:ir.actions.act_window,name:crm_partner_department.crm_department_action
-#: model:ir.ui.menu,name:crm_partner_department.menu_crm_department
-msgid "Departments"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,id:0
-msgid "ID"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,write_uid:0
-msgid "Last Updated by"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,write_date:0
-msgid "Last Updated on"
-msgstr ""
-
-#. module: crm_partner_department
-#: model:ir.model,name:crm_partner_department.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,name:0
-msgid "Name"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,parent_left:0
-msgid "Parent Left"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,parent_right:0
-msgid "Parent Right"
-msgstr ""
-
-#. module: crm_partner_department
-#: field:crm.department,parent_id:0
-msgid "Parent id"
-msgstr ""
-
-#. module: crm_partner_department
-#: model:ir.model,name:crm_partner_department.model_res_partner
-msgid "Partner"
-msgstr ""
-
-#. module: crm_partner_department
-#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
-msgid "Sales Team"
-msgstr ""
-
-#. module: crm_partner_department
-#: view:res.partner:crm_partner_department.view_res_partner_filter_department
-msgid "Salesperson"
-msgstr ""
-
diff --git a/partner_contact_department/i18n/es.po b/partner_contact_department/i18n/es.po
index 2c519e3c8..e3c3ae378 100644
--- a/partner_contact_department/i18n/es.po
+++ b/partner_contact_department/i18n/es.po
@@ -6,103 +6,88 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-27 08:51+0000\n"
-"PO-Revision-Date: 2015-05-27 08:51+0000\n"
+"POT-Creation-Date: 2015-12-21 16:54+0100\n"
+"PO-Revision-Date: 2015-12-21 16:55+0100\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
+"Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
+"Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: \n"
+"X-Generator: Poedit 1.8.5\n"
 
-#. module: crm_partner_department
-#: field:crm.department,children:0
-msgid "Children"
-msgstr "Hijos"
+#. module: partner_contact_department
+#: field:res.partner.department,child_ids:0
+msgid "Child departments"
+msgstr "Departamentos hijo"
 
-#. module: crm_partner_department
-#: field:crm.department,create_uid:0
+#. module: partner_contact_department
+#: field:res.partner.department,create_uid:0
 msgid "Created by"
 msgstr "Creado por"
 
-#. module: crm_partner_department
-#: field:crm.department,create_date:0
+#. module: partner_contact_department
+#: field:res.partner.department,create_date:0
 msgid "Created on"
 msgstr "Creado en"
 
-#. module: crm_partner_department
-#: view:crm.lead:crm_partner_department.crm_case_form_view_leads_department
-#: view:crm.lead:crm_partner_department.crm_case_form_view_oppor_department
-#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
-#: field:crm.lead,department:0
-#: model:ir.model,name:crm_partner_department.model_crm_department
-#: view:res.partner:crm_partner_department.view_partner_form_department
-#: view:res.partner:crm_partner_department.view_res_partner_filter_department
-#: field:res.partner,department:0
+#. module: partner_contact_department
+#: model:ir.model,name:partner_contact_department.model_res_partner_department
+#: view:res.partner:partner_contact_department.view_partner_form_department
+#: view:res.partner:partner_contact_department.view_res_partner_filter_department
+#: field:res.partner,department_id:0
 msgid "Department"
 msgstr "Departamento"
 
-#. module: crm_partner_department
-#: view:crm.department:crm_partner_department.crm_department_tree_view
-#: model:ir.actions.act_window,name:crm_partner_department.crm_department_action
-#: model:ir.ui.menu,name:crm_partner_department.menu_crm_department
+#. module: partner_contact_department
+#: model:ir.actions.act_window,name:partner_contact_department.res_partner_department_action
+#: model:ir.ui.menu,name:partner_contact_department.menu_res_partner_department
+#: view:res.partner.department:partner_contact_department.res_partner_department_tree_view
 msgid "Departments"
 msgstr "Departamentos"
 
-#. module: crm_partner_department
-#: field:crm.department,id:0
+#. module: partner_contact_department
+#: field:res.partner.department,id:0
 msgid "ID"
 msgstr "ID"
 
-#. module: crm_partner_department
-#: field:crm.department,write_uid:0
+#. module: partner_contact_department
+#: field:res.partner.department,write_uid:0
 msgid "Last Updated by"
 msgstr "Última actualización por"
 
-#. module: crm_partner_department
-#: field:crm.department,write_date:0
+#. module: partner_contact_department
+#: field:res.partner.department,write_date:0
 msgid "Last Updated on"
 msgstr "Última actualización en"
 
-#. module: crm_partner_department
-#: model:ir.model,name:crm_partner_department.model_crm_lead
-msgid "Lead/Opportunity"
-msgstr "Iniciativa/Oportunidad"
-
-#. module: crm_partner_department
-#: field:crm.department,name:0
+#. module: partner_contact_department
+#: field:res.partner.department,name:0
 msgid "Name"
 msgstr "Nombre"
 
-#. module: crm_partner_department
-#: field:crm.department,parent_left:0
-msgid "Parent Left"
-msgstr "Padre Izquierdo"
+#. module: partner_contact_department
+#: field:res.partner.department,parent_id:0
+msgid "Parent department"
+msgstr "Departamento padre"
 
-#. module: crm_partner_department
-#: field:crm.department,parent_right:0
-msgid "Parent Right"
-msgstr "Padre Derecho"
+#. module: partner_contact_department
+#: field:res.partner.department,parent_left:0
+msgid "Parent left"
+msgstr "Padre izquierdo"
 
-#. module: crm_partner_department
-#: field:crm.department,parent_id:0
-msgid "Parent id"
-msgstr "ID Padre"
+#. module: partner_contact_department
+#: field:res.partner.department,parent_right:0
+msgid "Parent right"
+msgstr "Padre derecho"
 
-#. module: crm_partner_department
-#: model:ir.model,name:crm_partner_department.model_res_partner
+#. module: partner_contact_department
+#: model:ir.model,name:partner_contact_department.model_res_partner
 msgid "Partner"
 msgstr "Empresa"
 
-#. module: crm_partner_department
-#: view:crm.lead:crm_partner_department.view_crm_case_leads_filter_department
-#: view:crm.lead:crm_partner_department.view_crm_case_opportunities_filter_department
-msgid "Sales Team"
-msgstr "Equipo de ventas"
-
-#. module: crm_partner_department
-#: view:res.partner:crm_partner_department.view_res_partner_filter_department
+#. module: partner_contact_department
+#: view:res.partner:partner_contact_department.view_res_partner_filter_department
 msgid "Salesperson"
 msgstr "Comercial"
-
diff --git a/partner_contact_department/models/__init__.py b/partner_contact_department/models/__init__.py
index 006c33b3b..213b25fdc 100644
--- a/partner_contact_department/models/__init__.py
+++ b/partner_contact_department/models/__init__.py
@@ -1,8 +1,9 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
-from . import crm_department
-from . import crm_lead
 from . import res_partner
diff --git a/partner_contact_department/models/crm_department.py b/partner_contact_department/models/crm_department.py
deleted file mode 100644
index 71bc4067e..000000000
--- a/partner_contact_department/models/crm_department.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmDepartment(models.Model):
-    _name = 'crm.department'
-    _order = "parent_left"
-    _parent_order = "name"
-    _parent_store = True
-    _description = "Department"
-
-    name = fields.Char(required=True, translate=True)
-    parent_id = fields.Many2one(comodel_name='crm.department')
-    children = fields.One2many(comodel_name='crm.department',
-                               inverse_name='parent_id')
-    parent_left = fields.Integer('Parent Left', select=True)
-    parent_right = fields.Integer('Parent Right', select=True)
diff --git a/partner_contact_department/models/crm_lead.py b/partner_contact_department/models/crm_lead.py
deleted file mode 100644
index 33fa82850..000000000
--- a/partner_contact_department/models/crm_lead.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
-from openerp import models, fields
-
-
-class CrmLead(models.Model):
-    _inherit = 'crm.lead'
-
-    department = fields.Many2one(comodel_name='crm.department')
-
-    def _lead_create_contact(self, cr, uid, lead, name, is_company,
-                             parent_id=False, context=None):
-        """Propagate department to created partner.
-        """
-        partner_id = super(CrmLead, self)._lead_create_contact(
-            cr, uid, lead, name, is_company, parent_id=parent_id,
-            context=context)
-        self.pool['res.partner'].write(
-            cr, uid, partner_id, {'department': lead.department.id},
-            context=context)
-        return partner_id
diff --git a/partner_contact_department/models/res_partner.py b/partner_contact_department/models/res_partner.py
index b8c7cd3a8..20e2cfd27 100644
--- a/partner_contact_department/models/res_partner.py
+++ b/partner_contact_department/models/res_partner.py
@@ -1,11 +1,38 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-# For copyright and license notices, see __openerp__.py file in root directory
-##############################################################################
+# -*- coding: utf-8 -*-
+#    Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+#                       Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+#    Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
+#                       Antonio Espinosa <antonioea@antiun.com>
+# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
 from openerp import models, fields
 
 
 class ResPartner(models.Model):
     _inherit = 'res.partner'
 
-    department = fields.Many2one(comodel_name='crm.department')
+    department_id = fields.Many2one(
+        "res.partner.department",
+        "Department",
+        oldname="department")
+
+
+class ResPartnerDepartment(models.Model):
+    _name = 'res.partner.department'
+    _order = "parent_left"
+    _parent_order = "name"
+    _parent_store = True
+    _description = "Department"
+
+    name = fields.Char(required=True, translate=True)
+    parent_id = fields.Many2one(
+        "res.partner.department",
+        "Parent department")
+    child_ids = fields.One2many(
+        "res.partner.department",
+        "parent_id",
+        "Child departments",
+        oldname="children")
+    parent_left = fields.Integer(index=True)
+    parent_right = fields.Integer(index=True)
diff --git a/partner_contact_department/security/ir.model.access.csv b/partner_contact_department/security/ir.model.access.csv
index dc285f926..9a73e7a61 100644
--- a/partner_contact_department/security/ir.model.access.csv
+++ b/partner_contact_department/security/ir.model.access.csv
@@ -1,5 +1,5 @@
 "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_crm_department_public","crm_department group_public","model_crm_department","base.group_public",1,0,0,0
-"access_crm_department_portal","crm_department group_portal","model_crm_department","base.group_portal",1,0,0,0
-"access_crm_department_group_partner_manager","crm_department group_partner_manager","model_crm_department","base.group_partner_manager",1,1,1,1
-"access_crm_department_group_user","crm_department group_user","model_crm_department","base.group_user",1,0,0,0
+"access_res_partner_department_public","res_partner_department group_public","model_res_partner_department","base.group_public",1,0,0,0
+"access_res_partner_department_portal","res_partner_department group_portal","model_res_partner_department","base.group_portal",1,0,0,0
+"access_res_partner_department_group_partner_manager","res_partner_department group_partner_manager","model_res_partner_department","base.group_partner_manager",1,1,1,1
+"access_res_partner_department_group_user","res_partner_department group_user","model_res_partner_department","base.group_user",1,0,0,0
diff --git a/partner_contact_department/views/crm_department_view.xml b/partner_contact_department/views/crm_department_view.xml
deleted file mode 100644
index 981e7d7b7..000000000
--- a/partner_contact_department/views/crm_department_view.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record id="crm_department_action" model="ir.actions.act_window">
-    <field name="name">Departments</field>
-    <field name="res_model">crm.department</field>
-    <field name="view_type">form</field>
-    <field name="view_mode">tree</field>
-</record>
-
-<record id="crm_department_tree_view" model="ir.ui.view">
-    <field name="name">CRM department tree</field>
-    <field name="model">crm.department</field>
-    <field name="arch" type="xml">
-        <tree string="Departments" editable="top">
-            <field name="name"/>
-            <field name="parent_id"/>
-        </tree>
-    </field>
-</record>
-
-<menuitem action="crm_department_action"
-          id="menu_crm_department"
-          name="Departments"
-          parent="base.menu_crm_config_lead"
-          sequence="3"/>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/partner_contact_department/views/crm_lead_view.xml b/partner_contact_department/views/crm_lead_view.xml
deleted file mode 100644
index 6b4d289af..000000000
--- a/partner_contact_department/views/crm_lead_view.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-<data>
-
-<record model="ir.ui.view" id="crm_case_form_view_leads">
-    <field name="name">Add department field</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
-    <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"
-                   placeholder="Department"
-                   options='{"no_open": True}'/>
-        </field>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="view_crm_case_leads_filter">
-    <field name="name">Add department field for searching and grouping</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="department"/>
-        </field>
-        <filter string="Sales Team" position="after">
-            <filter string="Department"
-                    domain="[]"
-                    context="{'group_by': 'department'}"/>
-        </filter>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="crm_case_form_view_oppor">
-    <field name="name">Add department field</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
-    <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"
-                   placeholder="Department"
-                   options='{"no_open": True}'/>
-        </field>
-    </field>
-</record>
-
-<record model="ir.ui.view" id="view_crm_case_opportunities_filter">
-    <field name="name">Add department field for searching and grouping</field>
-    <field name="model">crm.lead</field>
-    <field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
-    <field name="arch" type="xml">
-        <field name="section_id" position="after">
-            <field name="department"/>
-        </field>
-        <filter string="Sales Team" position="after">
-            <filter string="Department"
-                    domain="[]"
-                    context="{'group_by': 'department'}"/>
-        </filter>
-    </field>
-</record>
-
-</data>
-</openerp>
\ No newline at end of file
diff --git a/partner_contact_department/views/res_partner_department_view.xml b/partner_contact_department/views/res_partner_department_view.xml
new file mode 100644
index 000000000..f7aae91f9
--- /dev/null
+++ b/partner_contact_department/views/res_partner_department_view.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
+     © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+     © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
+
+<openerp>
+<data>
+
+<record id="res_partner_department_action" model="ir.actions.act_window">
+    <field name="name">Departments</field>
+    <field name="res_model">res.partner.department</field>
+    <field name="view_type">form</field>
+    <field name="view_mode">tree</field>
+</record>
+
+<record id="res_partner_department_tree_view" model="ir.ui.view">
+    <field name="name">CRM department tree</field>
+    <field name="model">res.partner.department</field>
+    <field name="arch" type="xml">
+        <tree string="Departments" editable="top">
+            <field name="name"/>
+            <field name="parent_id"/>
+        </tree>
+    </field>
+</record>
+
+<record id="res_partner_department_form_view" model="ir.ui.view">
+    <field name="name">CRM department form</field>
+    <field name="model">res.partner.department</field>
+    <field name="arch" type="xml">
+        <form>
+            <group>
+                <field name="name"/>
+                <field name="parent_id"/>
+                <field name="child_ids"/>
+            </group>
+        </form>
+    </field>
+</record>
+
+<menuitem action="res_partner_department_action"
+          id="menu_res_partner_department"
+          parent="base.menu_config_address_book"/>
+
+</data>
+</openerp>
diff --git a/partner_contact_department/views/res_partner_view.xml b/partner_contact_department/views/res_partner_view.xml
index 8856abd93..108a2415e 100644
--- a/partner_contact_department/views/res_partner_view.xml
+++ b/partner_contact_department/views/res_partner_view.xml
@@ -1,4 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!-- © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
+     © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
+     © 2015 Antiun Ingeniería S.L. - Jairo Llopis
+     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
+
 <openerp>
 <data>
 
@@ -7,14 +12,16 @@
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"
+        <xpath expr="//sheet/group//field[@name='function']" position="after">
+            <field name="department_id"
                    placeholder="Department"
                    attrs="{'invisible': [('is_company','=', True)]}"
                    options='{"no_open": True}'/>
-        </field>
-        <xpath expr="//field[@name='child_ids']/form//field[@name='phone']" position="before">
-            <field name="department"
+        </xpath>
+        <xpath expr="//field[@name='child_ids']/form//field[@name='function']"
+               position="after">
+            <field name="is_company" invisible="True"/>
+            <field name="department_id"
                    placeholder="Department"
                    attrs="{'invisible': [('is_company','=', True)]}"
                    options='{"no_open": True}'/>
@@ -22,34 +29,21 @@
     </field>
 </record>
 
-<!-- Uncomment this to add a new column to tree view
-<record model="ir.ui.view" id="view_partner_tree_department">
-    <field name="name">Partner tree with department</field>
-    <field name="model">res.partner</field>
-    <field name="inherit_id" ref="base.view_partner_tree"/>
-    <field name="arch" type="xml">
-        <field name="phone" position="before">
-            <field name="department"/>
-        </field>
-    </field>
-</record>
--->
-
 <record model="ir.ui.view" id="view_res_partner_filter_department">
     <field name="name">Partner search with department</field>
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_res_partner_filter"/>
     <field name="arch" type="xml">
         <field name="category_id" position="after">
-            <field name="department"/>
+            <field name="department_id"/>
         </field>
         <filter string="Salesperson" position="after">
             <filter string="Department"
                     domain="[('is_company', '=', False)]"
-                    context="{'group_by': 'department'}"/>
+                    context="{'group_by': 'department_id'}"/>
         </filter>
     </field>
 </record>
 
 </data>
-</openerp>
\ No newline at end of file
+</openerp>

From 7cb72348b548dbcbc93ab28ff9ca1519a65c3278 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Tue, 22 Dec 2015 16:08:30 +0100
Subject: [PATCH 54/58] Improve README.

---
 partner_contact_department/README.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/partner_contact_department/README.rst b/partner_contact_department/README.rst
index d142645b8..f15fcdce0 100644
--- a/partner_contact_department/README.rst
+++ b/partner_contact_department/README.rst
@@ -25,6 +25,7 @@ Usage
 To use this module, you need to:
 
 * Go to any partner's form.
+* You will find the new *Department* field below *Job Position*.
 
 .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
    :alt: Try me on Runbot

From 0ce0b34991116d9355ededee5239fb98687cb19e Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Tue, 22 Dec 2015 16:32:58 +0100
Subject: [PATCH 55/58] Move group of fields outside unrelated Sales &
 Purchases tab.

---
 partner_capital/views/res_partner_view.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/partner_capital/views/res_partner_view.xml b/partner_capital/views/res_partner_view.xml
index e5a5b6c85..4fe7baa55 100644
--- a/partner_capital/views/res_partner_view.xml
+++ b/partner_capital/views/res_partner_view.xml
@@ -11,7 +11,7 @@
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
-        <xpath expr="//page[@name='sales_purchases']/group">
+        <xpath expr="/form/sheet/group">
             <group name="captial"
                    string="Capital"
                    attrs="{'invisible': [('is_company', '=', False)]}">

From 1016eb8f8288781deed6dde27a45bfb531889eb4 Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Tue, 22 Dec 2015 16:37:29 +0100
Subject: [PATCH 56/58] Improve metadata.

---
 partner_employee_quantity/__openerp__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/partner_employee_quantity/__openerp__.py b/partner_employee_quantity/__openerp__.py
index be90e04db..0d3c0ab64 100644
--- a/partner_employee_quantity/__openerp__.py
+++ b/partner_employee_quantity/__openerp__.py
@@ -8,7 +8,9 @@
     'summary': 'Know how many employees a partner has',
     'version': '8.0.1.0.0',
     'category': 'Customer Relationship Management',
-    'author': 'Antiun Ingeniería S.L.',
+    "author": "Antiun Ingeniería S.L., Odoo Community Association (OCA)",
+    "license": "AGPL-3",
+    "application": False,
     'website': 'http://www.antiun.com',
     'depends': [
         'base',

From bb0a4b769a22c4abbe4d594c51161b79ed5fd05d Mon Sep 17 00:00:00 2001
From: Jairo Llopis <yajo.sk8@gmail.com>
Date: Tue, 22 Dec 2015 16:37:38 +0100
Subject: [PATCH 57/58] Move group of fields outside unrelated Sales &
 Purchases tab.

---
 partner_employee_quantity/README.rst                 | 2 +-
 partner_employee_quantity/views/res_partner_view.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/partner_employee_quantity/README.rst b/partner_employee_quantity/README.rst
index 11a9ea65e..ca6964326 100644
--- a/partner_employee_quantity/README.rst
+++ b/partner_employee_quantity/README.rst
@@ -23,7 +23,7 @@ To use this module, you need to:
 
 * Go to any partner's form.
 * Enable *Is company?*.
-* Go to *Sales & Purchases > Employee quantity*.
+* You will see a new group of fields called *Employee quantity*.
 
 .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
    :alt: Try me on Runbot
diff --git a/partner_employee_quantity/views/res_partner_view.xml b/partner_employee_quantity/views/res_partner_view.xml
index 8a8297db5..ad2c60461 100644
--- a/partner_employee_quantity/views/res_partner_view.xml
+++ b/partner_employee_quantity/views/res_partner_view.xml
@@ -7,7 +7,7 @@
     <field name="model">res.partner</field>
     <field name="inherit_id" ref="base.view_partner_form"/>
     <field name="arch" type="xml">
-        <xpath expr="//page[@name='sales_purchases']/group">
+        <xpath expr="/form/sheet/group">
             <group name="employee_quantity"
                    string="Employee quantity"
                    attrs="{'invisible': [('is_company', '=', False)]}">

From bd356fb2dc9eea91bf89dd9e067dd50d9062aa1e Mon Sep 17 00:00:00 2001
From: OCA Git Bot <oca-git-bot@odoo-community.org>
Date: Wed, 23 Dec 2015 02:33:20 +0100
Subject: [PATCH 58/58] [UPD] addons table in README.md

---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index 6f14bcc7a..618763233 100644
--- a/README.md
+++ b/README.md
@@ -29,12 +29,16 @@ addon | version | summary
 [partner_academic_title](partner_academic_title/) | 8.0.1.0.0 | Add possibility to define some academic title
 [partner_address_street3](partner_address_street3/) | 8.0.0.1.0 | Street3 in addresses
 [partner_auto_salesman](partner_auto_salesman/) | 8.0.1.0.0 | Partner auto salesman
+[partner_capital](partner_capital/) | 8.0.1.0.0 | Partners Capital
 [partner_contact_address_detailed](partner_contact_address_detailed/) | 8.0.1.0.0 | All address data in summarized contact form
 [partner_contact_birthdate](partner_contact_birthdate/) | 8.0.1.0.0 | Contact's birthdate
+[partner_contact_department](partner_contact_department/) | 8.0.1.0.0 | Assign contacts to departments
 [partner_contact_gender](partner_contact_gender/) | 8.0.1.0.0 | Add gender field to contacts
 [partner_contact_in_several_companies](partner_contact_in_several_companies/) | 8.0.1.0.0 | Allow to have one contact in several partners
+[partner_contact_job_position](partner_contact_job_position/) | 8.0.1.0.0 | Categorize job positions for contacts
 [partner_contact_nationality](partner_contact_nationality/) | 8.0.1.0.0 | Contact's nationality
 [partner_contact_personal_information_page](partner_contact_personal_information_page/) | 8.0.1.0.0 | Add a page to contacts form to put personal information
+[partner_employee_quantity](partner_employee_quantity/) | 8.0.1.0.0 | Know how many employees a partner has
 [partner_external_maps](partner_external_maps/) | 8.0.0.1.0 | Add Map and Map Routing buttons on partner form to open GMaps, OSM, Bing and others
 [partner_firstname](partner_firstname/) | 8.0.2.1.0 | Split first name and last name for non company partners
 [partner_helper](partner_helper/) | 8.0.0.1.0 | Partner Helper