[FIX] base.export.lang: properly return action to second step, now that web bug has been fixed

bzr revid: odo@openerp.com-20121124023226-67mbjw0cvzvkbrxy
This commit is contained in:
Olivier Dony 2012-11-24 03:32:26 +01:00
parent 8ca56f838b
commit 760457a09a
1 changed files with 9 additions and 1 deletions

View File

@ -73,7 +73,15 @@ class base_language_export(osv.osv_memory):
self.write(cr, uid, ids, {'state': 'get',
'data': out,
'name':this.name}, context=context)
return True
return {
'type': 'ir.actions.act_window',
'res_model': 'base.language.export',
'view_mode': 'form',
'view_type': 'form',
'res_id': this.id,
'views': [(False, 'form')],
'target': 'new',
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: