diff --git a/addons/crm/crm_fund_data.xml b/addons/crm/crm_fund_data.xml index 127a729aa3d..d5149f59f52 100644 --- a/addons/crm/crm_fund_data.xml +++ b/addons/crm/crm_fund_data.xml @@ -26,17 +26,17 @@ - + Cash - + Cheque - + Credit Card diff --git a/addons/crm/crm_fundraising.py b/addons/crm/crm_fundraising.py index 626d3498827..290620d6154 100644 --- a/addons/crm/crm_fundraising.py +++ b/addons/crm/crm_fundraising.py @@ -59,6 +59,17 @@ class crm_fundraising_categ(osv.osv): } crm_fundraising_categ() +class crm_fundraising_type(osv.osv): + _name = "crm.fundraising.type" + _description = "Fundraising Type" + _rec_name = "name" + _columns = { + 'name': fields.char('Fundraising Type Name', size=64, required=True, translate=True), + 'section_id': fields.many2one('crm.case.section', 'Case Section'), + } + +crm_fundraising_type() + class crm_fundraising(osv.osv): _name = "crm.fundraising" _description = "Fund Raising Cases" diff --git a/addons/crm/crm_helpdesk.py b/addons/crm/crm_helpdesk.py index 8bb62c17884..03e110844e5 100644 --- a/addons/crm/crm_helpdesk.py +++ b/addons/crm/crm_helpdesk.py @@ -59,6 +59,15 @@ class crm_helpdesk_categ(osv.osv): } crm_helpdesk_categ() +class crm_helpdesk_type(osv.osv): + _name = "crm.helpdesk.type" + _description = "Helpdesk Type" + _rec_name = "name" + _columns = { + 'name': fields.char('Helpdesk Type Name', size=64, required=True, translate=True), + 'section_id': fields.many2one('crm.case.section', 'Case Section'), + } +crm_helpdesk_type() class crm_helpdesk(osv.osv): _name = "crm.helpdesk" _description = "Helpdesk Cases" diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index a7acc3c1793..bb3ed628fbf 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -58,6 +58,17 @@ class crm_lead_categ(osv.osv): 'probability': lambda *args: 0.0 } crm_lead_categ() + +class crm_lead_type(osv.osv): + _name = "crm.lead.type" + _description = "Lead Type" + _rec_name = "name" + _columns = { + 'name': fields.char('lead Type Name', size=64, required=True, translate=True), + 'section_id': fields.many2one('crm.case.section', 'Case Section'), + } +crm_lead_type() + class crm_opportunity(osv.osv): _name = "crm.opportunity" crm_opportunity() diff --git a/addons/crm/crm_lead_data.xml b/addons/crm/crm_lead_data.xml index 619c549515f..6ceb41beb5f 100644 --- a/addons/crm/crm_lead_data.xml +++ b/addons/crm/crm_lead_data.xml @@ -58,35 +58,35 @@ - + Telesales - + Mail - + Email - + Print - + Web - + Radio - + Television - + Newsletter diff --git a/addons/crm/crm_opportunity.py b/addons/crm/crm_opportunity.py index fb81d93e5ba..861b59a6635 100644 --- a/addons/crm/crm_opportunity.py +++ b/addons/crm/crm_opportunity.py @@ -59,6 +59,16 @@ class crm_opportunity_categ(osv.osv): } crm_opportunity_categ() +class crm_opportunity_type(osv.osv): + _name = "crm.opportunity.type" + _description = "Opportunity Type" + _rec_name = "name" + _columns = { + 'name': fields.char('lead Type Name', size=64, required=True, translate=True), + 'section_id': fields.many2one('crm.case.section', 'Case Section'), + } +crm_opportunity_type() + class crm_opportunity(osv.osv): _name = "crm.opportunity" _description = "Opportunity Cases" diff --git a/addons/crm/crm_opportunity_data.xml b/addons/crm/crm_opportunity_data.xml index 9c9ab51324c..062d033ceac 100644 --- a/addons/crm/crm_opportunity_data.xml +++ b/addons/crm/crm_opportunity_data.xml @@ -70,11 +70,11 @@ - + Existing Business - + New Business diff --git a/addons/crm/crm_phonecall.py b/addons/crm/crm_phonecall.py index 3aa7f6bb746..5df443c1f80 100644 --- a/addons/crm/crm_phonecall.py +++ b/addons/crm/crm_phonecall.py @@ -50,7 +50,6 @@ class crm_phonecall_categ(osv.osv): 'probability': lambda *args: 0.0 } crm_phonecall_categ() - class crm_phonecall(osv.osv): _name = "crm.phonecall" _description = "Phonecall Cases"