[FIX] apps: reload client when updating a module
bzr revid: chs@openerp.com-20120928113143-drizsnkiev35r8y1
This commit is contained in:
@@ -664,7 +664,10 @@ class module(osv.osv):
|
||||
# if any to update
|
||||
cr.commit()
|
||||
openerp.service.restart_server()
|
||||
return False
|
||||
return {
|
||||
'type': 'ir.actions.client',
|
||||
'tag': 'reload'
|
||||
}
|
||||
return self.button_immediate_install(cr, uid, ids, context=context)
|
||||
finally:
|
||||
shutil.rmtree(tmp)
|
||||
|
||||
Reference in New Issue
Block a user