[FIX] model field value overwrite problem fix in email.compose.message wizard.
bzr revid: ysa@tinyerp.com-20110310091520-0u1mjgzfrkukwklf
This commit is contained in:
@@ -64,8 +64,6 @@ class email_compose_message(osv.osv_memory):
|
||||
vals = {}
|
||||
if template_id and context.get('email_model') and context.get('email_res_id'):
|
||||
vals = self.get_template_data(cr, uid, context.get('email_res_id'), template_id, context)
|
||||
else:
|
||||
result['model'] = context.get('email_model', False)
|
||||
|
||||
if not vals:
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user