[IMP] CRM: crm_phonecall_to_phonecall - update context

bzr revid: aag@tinyerp.com-20111207072335-eq9ponmsp834mfdc
This commit is contained in:
Atik Agewan (OpenERP)
2011-12-07 12:53:35 +05:30
parent 7170412c72
commit 55c75c54be
@@ -36,7 +36,7 @@
Now I schedule another phonecall to customer after merged.
-
!python {model: crm.phonecall2phonecall}: |
context.update({'active_model': 'crm.phonecall', 'active_ids': [ref("crm.crm_case_phone06")]})
context.update({'active_model': 'crm.phonecall', 'active_ids': [ref("crm.crm_case_phone06")], 'active_id': ref("crm.crm_case_phone06")})
res_id = self.create(cr, uid, {'name': "vos chances sont fusionnés en un seul"}, context=context)
self.action_schedule(cr, uid, [res_id], context=context)
-