[IMP] modules: go home after restart of server
bzr revid: chs@openerp.com-20121031120301-b6680zyxq7u1wxq4
This commit is contained in:
parent
0499ba78af
commit
9cdc77b6ea
|
@ -663,7 +663,8 @@ class module(osv.osv):
|
||||||
openerp.service.restart_server()
|
openerp.service.restart_server()
|
||||||
return {
|
return {
|
||||||
'type': 'ir.actions.client',
|
'type': 'ir.actions.client',
|
||||||
'tag': 'reload'
|
'tag': 'home',
|
||||||
|
'params': {'wait': True},
|
||||||
}
|
}
|
||||||
return self.button_immediate_install(cr, uid, ids, context=context)
|
return self.button_immediate_install(cr, uid, ids, context=context)
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue