[FIX] email_template: closing wizard on creating new template

bzr revid: rha@tinyerp.com-20110427103536-ppnufnu1ae8dbgt4
This commit is contained in:
Rifakat Haradwala (Open ERP) 2011-04-27 16:05:36 +05:30
parent 855b512e74
commit d0db365ac5
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class email_compose_message(osv.osv_memory):
'attachment_ids': [(6, 0, [att.id for att in record.attachment_ids])]
}
template_pool.create(cr, uid, values, context=context)
return True
return {'type': 'ir.actions.act_window_close'}
email_compose_message()