[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:
Olivier Dony 2012-01-18 17:22:03 +01:00
parent 3e7c98f5e5
commit f1dc3773b8
1 changed files with 1 additions and 1 deletions

View File

@ -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):