diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index 9e9cf42a5bc..d80d9517586 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -70,10 +70,8 @@ Dashboard for CRM will include: 'wizard/crm_lead_to_opportunity_view.xml', 'wizard/crm_phonecall_to_phonecall_view.xml', - 'wizard/crm_phonecall_to_opportunity_view.xml', 'wizard/crm_opportunity_to_phonecall_view.xml', - 'wizard/crm_partner_to_opportunity_view.xml', 'wizard/crm_merge_opportunities_view.xml', diff --git a/addons/crm/crm_lead_demo.xml b/addons/crm/crm_lead_demo.xml index 7849125282e..8dbc76f9fa3 100644 --- a/addons/crm/crm_lead_demo.xml +++ b/addons/crm/crm_lead_demo.xml @@ -247,7 +247,7 @@ Andrew Bojing Hú Incom Corporation bhu.a100@gmail.com - + Shenzhen @@ -542,6 +542,31 @@ Andrew + + opportunity + Would appreciate more information about your products + + + Agrolait + info@agrolait.com + + 69 rue de Chimay + + Wavre + 1300 + + + + 3 + + + Send Catalogue by Email + + + + + + Plan to buy a Laptop diff --git a/addons/crm/crm_phonecall.py b/addons/crm/crm_phonecall.py index bac33815794..8c787b94c84 100644 --- a/addons/crm/crm_phonecall.py +++ b/addons/crm/crm_phonecall.py @@ -256,14 +256,14 @@ class crm_phonecall(base_state, osv.osv): 'default_name': phonecall.name, } return res - + # ---------------------------------------- # OpenChatter # ---------------------------------------- def case_get_note_msg_prefix(self, cr, uid, id, context=None): return 'Phonecall' - + def case_reset_send_note(self, cr, uid, ids, context=None): message = _('Phonecall has been reset and set as open.') return self.message_post(cr, uid, ids, body=message, context=context) @@ -286,5 +286,9 @@ class crm_phonecall(base_state, osv.osv): def _call_set_partner_send_note(self, cr, uid, ids, context=None): return self.message_post(cr, uid, ids, body=_("Partner has been created."), context=context) + def action_button_convert2opportunity(self, cr, uid, ids, context=None): + #TODO + assert len(ids) == 1, 'This option should only be used for a single id at a time.' + return {} # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml index 9cb09e71be2..e79fd2dbf3e 100644 --- a/addons/crm/crm_phonecall_view.xml +++ b/addons/crm/crm_phonecall_view.xml @@ -39,7 +39,7 @@ client_action_multi - + Phonecall Categories crm.case.categ @@ -60,8 +60,7 @@ - - + CRM - Phone Calls Tree crm.phonecall @@ -74,10 +73,10 @@ states="open,pending" icon="gtk-redo" name="action_make_meeting" type="object"/>