[FIX] email_template: properly pass target model in composition wizard reloading action
This fixes reloading of the composition wizard after selecting templating options in the new web client. lp bug: https://launchpad.net/bugs/886144 fixed bzr revid: odo@openerp.com-20120118162203-17d1tug4lw40wpex
This commit is contained in:
parent
3e7c98f5e5
commit
f1dc3773b8
|
@ -37,7 +37,7 @@ def _reopen(self,res_id,model):
|
|||
|
||||
# save original model in context, otherwise
|
||||
# it will be lost on the action's context switch
|
||||
'mail.compose.target.model': model,
|
||||
'context': {'mail.compose.target.model': model}
|
||||
}
|
||||
|
||||
class mail_compose_message(osv.osv_memory):
|
||||
|
|
Loading…
Reference in New Issue