diff --git a/addons/crm/crm_claims_menu.xml b/addons/crm/crm_claims_menu.xml index 50cdd72c982..211c632a804 100644 --- a/addons/crm/crm_claims_menu.xml +++ b/addons/crm/crm_claims_menu.xml @@ -1,11 +1,11 @@ - + ######################## CLAIMS (menu) ########################### - All Claims + Claims crm.claim form tree,calendar,form,graph @@ -38,7 +38,7 @@ - + diff --git a/addons/crm/crm_fund_menu.xml b/addons/crm/crm_fund_menu.xml index df7cc431173..57353e2c6ac 100644 --- a/addons/crm/crm_fund_menu.xml +++ b/addons/crm/crm_fund_menu.xml @@ -2,8 +2,9 @@ + - All Funds + Funds crm.fundraising tree,form,graph @@ -28,8 +29,7 @@ - - + diff --git a/addons/crm/crm_helpdesk_menu.xml b/addons/crm/crm_helpdesk_menu.xml index e546a10e2e2..270237aa698 100644 --- a/addons/crm/crm_helpdesk_menu.xml +++ b/addons/crm/crm_helpdesk_menu.xml @@ -1,15 +1,14 @@ - + ######################## Help Desk (menu) ########################### - All Helpdesk Requests + Helpdesk Requests crm.helpdesk tree,calendar,form - - + @@ -31,7 +30,7 @@ - + diff --git a/addons/crm/wizard/crm_opportunity_wizard.py b/addons/crm/wizard/crm_opportunity_wizard.py index 9641c6ac055..b33da1cd258 100644 --- a/addons/crm/wizard/crm_opportunity_wizard.py +++ b/addons/crm/wizard/crm_opportunity_wizard.py @@ -91,9 +91,15 @@ class opportunity2phonecall(wizard.interface): 'categ_id' : form['category_id'], 'description' : form['note'], 'date' : form['deadline'], - 'section_id' : form['section_id'] + 'section_id' : form['section_id'], + 'partner_id': opportunity.partner_id.id, + 'partner_address_id':opportunity.partner_address_id.id, + 'description':opportunity.description }, context=context) - + vals = {} + if not opportunity.phonecall_id: + vals.update({'phonecall_id' : new_case}) + opportunity_case_obj.write(cr, uid, [opportunity.id], vals) opportunity_case_obj.case_cancel(cr, uid, [opportunity.id]) phonecall_case_obj.case_open(cr, uid, [new_case]) diff --git a/addons/crm_hr/crm_hr.py b/addons/crm_hr/crm_hr.py index da144da950a..7fe2f2c4878 100644 --- a/addons/crm_hr/crm_hr.py +++ b/addons/crm_hr/crm_hr.py @@ -62,6 +62,7 @@ class crm_job(osv.osv): 'som': fields.many2one('res.partner.som', 'State of Mind', help="The minds states allow to define a value scale which represents" \ "the partner mentality in relation to our services.The scale has" \ "to be created with a factor for each level from 0 (Very dissatisfied) to 10 (Extremely satisfied)."), + 'phonecall_id':fields.many2one ('crm.phonecall', 'Phonecall'), } diff --git a/addons/crm_hr/crm_hr_view.xml b/addons/crm_hr/crm_hr_view.xml index 7e9d4249075..ca0a7d635d7 100644 --- a/addons/crm_hr/crm_hr_view.xml +++ b/addons/crm_hr/crm_hr_view.xml @@ -65,8 +65,6 @@ -