[FIX] crm : propagate the lead_id when scheldule other phone calls
This commit is contained in:
parent
ed58bcf26b
commit
738270557f
|
@ -134,6 +134,7 @@ class crm_phonecall(base_state, osv.osv):
|
|||
'partner_phone' : call.partner_phone,
|
||||
'partner_mobile' : call.partner_mobile,
|
||||
'priority': call.priority,
|
||||
'opportunity_id': call.opportunity_id and call.opportunity_id.id or False,
|
||||
}
|
||||
new_id = self.create(cr, uid, vals, context=context)
|
||||
if action == 'log':
|
||||
|
|
Loading…
Reference in New Issue