[FIX] email_template: closing wizard on creating new template
bzr revid: rha@tinyerp.com-20110427103536-ppnufnu1ae8dbgt4
This commit is contained in:
parent
855b512e74
commit
d0db365ac5
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue