diff options
| author | Atik Agewan (OpenERP) <aag@tinyerp.com> | 2011-12-16 12:19:21 +0530 |
|---|---|---|
| committer | Atik Agewan (OpenERP) <aag@tinyerp.com> | 2011-12-16 12:19:21 +0530 |
| commit | 8f8992fdf271d1d5f9367d6e704f4bd86dff9b68 (patch) | |
| tree | 5d92a89eea755425adf6e70204b06ff01f9dc552 | |
| parent | 0380a9a29160bd325cd676bd454fc67b598d1a6f (diff) | |
[ADD]CRM:update context to fix test case
bzr revid: aag@tinyerp.com-20111216064921-dic8xhtpr5po482s
| -rw-r--r-- | addons/crm/test/process/merge_opportunity.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/test/process/merge_opportunity.yml b/addons/crm/test/process/merge_opportunity.yml index 1ce9aa1f2aa..d06bf96566b 100644 --- a/addons/crm/test/process/merge_opportunity.yml +++ b/addons/crm/test/process/merge_opportunity.yml @@ -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) - |
