[ADD]CRM:update context to fix test case

bzr revid: aag@tinyerp.com-20111216064921-dic8xhtpr5po482s
This commit is contained in:
Atik Agewan (OpenERP)
2011-12-16 12:19:21 +05:30
parent 0380a9a291
commit 8f8992fdf2
@@ -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)
-