[FIX] add missing file
bzr revid: chs@openerp.com-20120824143837-tpgu7g2rqnkag22u
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from openerp.osv import osv
|
||||
import openerp.wsgi.core as oewsgi
|
||||
|
||||
from common.http import Root
|
||||
|
||||
class ir_module(osv.Model):
|
||||
_inherit = 'ir.module.module'
|
||||
|
||||
def update_list(self, cr, uid, context=None):
|
||||
result = super(ir_module, self).update_list(cr, uid, context=context)
|
||||
|
||||
if tuple(result) != (0, 0):
|
||||
for handler in oewsgi.module_handlers:
|
||||
if isinstance(handler, Root):
|
||||
handler._load_addons()
|
||||
|
||||
return result
|
||||
Reference in New Issue
Block a user