diff options
| author | ron@tinyerp.com <> | 2011-11-23 14:43:14 +0530 |
|---|---|---|
| committer | ron@tinyerp.com <> | 2011-11-23 14:43:14 +0530 |
| commit | 9bca7fa4d7e82beca48466bba293e0832c3b2c8e (patch) | |
| tree | 344d0f2b2df2c08828a612add236f645b6ec3f6b | |
| parent | 4228eff228d0785712d60ab81beb28493e6ff1b7 (diff) | |
[FIX] crm: Traceback generated when converting opportunity from Scheduled Calls
bzr revid: ron@tinyerp.com-20111123091314-9remtt8bw59iki98
| -rw-r--r-- | addons/crm/wizard/crm_phonecall_to_opportunity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/wizard/crm_phonecall_to_opportunity.py b/addons/crm/wizard/crm_phonecall_to_opportunity.py index ce64dedd73d..a6ddc2494ab 100644 --- a/addons/crm/wizard/crm_phonecall_to_opportunity.py +++ b/addons/crm/wizard/crm_phonecall_to_opportunity.py @@ -50,7 +50,7 @@ class crm_phonecall2opportunity(osv.osv_memory): This function gets default values """ record_id = context and context.get('active_id', False) or False - res = super(crm_phonecall2opportunity, self).default_get(cr, uid, fields, context=context) + res = {} if record_id: phonecall = self.pool.get('crm.phonecall').browse(cr, uid, record_id, context=context) |
