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 @@
+
@@ -30,6 +31,9 @@
+
@@ -46,6 +50,7 @@
+
@@ -62,6 +67,9 @@
+
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}'/>
+
@@ -34,6 +36,9 @@
+