[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:
parent
8ca56f838b
commit
760457a09a
|
@ -73,7 +73,15 @@ class base_language_export(osv.osv_memory):
|
||||||
self.write(cr, uid, ids, {'state': 'get',
|
self.write(cr, uid, ids, {'state': 'get',
|
||||||
'data': out,
|
'data': out,
|
||||||
'name':this.name}, context=context)
|
'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:
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||||
|
|
Loading…
Reference in New Issue