[FIX] crm: meeting from a logged phone call
The user creating the event should be by default in the attendees (to see the event he just created in his calendar) and the contact on the logged call should also be in the attendees by default. opw:650556
This commit is contained in:
parent
91d54a0d7d
commit
25634df8f2
|
@ -266,7 +266,7 @@ class crm_phonecall(osv.osv):
|
|||
Open meeting's calendar view to schedule a meeting on current phonecall.
|
||||
:return dict: dictionary value for created meeting view
|
||||
"""
|
||||
partner_ids = []
|
||||
partner_ids = [self.pool['res.users'].browse(cr, uid, uid, context=context).partner_id.id]
|
||||
phonecall = self.browse(cr, uid, ids[0], context)
|
||||
if phonecall.partner_id and phonecall.partner_id.email:
|
||||
partner_ids.append(phonecall.partner_id.id)
|
||||
|
|
Loading…
Reference in New Issue