[FIX] manifest flag 'active' was renamed to 'auto_install' a while ago
The change occurred in server at revision 3989 and in addons at revision 6451, but had never been done in openerp-web. One indirect consequence was that the 'base' modules was not considered auto-installable anymore and its CSS files were not loaded on web, causing layout issues, namely in the modules kanban view. Server rev 3989 = al@openerp.com-20120130211001-ytqx759fl920uegc Addons rev 6451 = al@openerp.com-20120130211812-w0wu42hdu4l7koc4 lp bug: https://launchpad.net/bugs/948866 fixed bzr revid: odo@openerp.com-20120314181853-kzr6lgqxxcz7rreu
This commit is contained in:
parent
6a38a66d50
commit
601da46064
|
@ -7,7 +7,7 @@
|
|||
This module provides the core of the OpenERP web client.
|
||||
""",
|
||||
"depends" : [],
|
||||
'active': True,
|
||||
'auto_install': True,
|
||||
'post_load' : 'wsgi_postload',
|
||||
'js' : [
|
||||
"static/lib/datejs/globalization/en-US.js",
|
||||
|
|
|
@ -537,10 +537,10 @@ class Session(openerpweb.Controller):
|
|||
# already installed modules have no dependencies
|
||||
modules = dict.fromkeys(loaded, [])
|
||||
|
||||
# Compute active true modules that might be on the web side only
|
||||
# Compute auto_install modules that might be on the web side only
|
||||
modules.update((name, openerpweb.addons_manifest[name].get('depends', []))
|
||||
for name in candidates
|
||||
if openerpweb.addons_manifest[name].get('active'))
|
||||
if openerpweb.addons_manifest[name].get('auto_install'))
|
||||
|
||||
# Retrieve database installed modules
|
||||
Modules = req.session.model('ir.module.module')
|
||||
|
|
|
@ -19,5 +19,5 @@
|
|||
'qweb' : [
|
||||
"static/src/xml/*.xml",
|
||||
],
|
||||
'active': True
|
||||
'auto_install': True
|
||||
}
|
||||
|
|
|
@ -14,5 +14,5 @@
|
|||
'qweb' : [
|
||||
"static/src/xml/*.xml",
|
||||
],
|
||||
'active': True
|
||||
'auto_install': True
|
||||
}
|
||||
|
|
|
@ -17,5 +17,5 @@
|
|||
'qweb' : [
|
||||
"static/src/xml/*.xml",
|
||||
],
|
||||
'active': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
|
|
@ -16,5 +16,5 @@
|
|||
'qweb' : [
|
||||
"static/src/xml/*.xml",
|
||||
],
|
||||
'active': True
|
||||
'auto_install': True
|
||||
}
|
||||
|
|
|
@ -12,5 +12,5 @@
|
|||
'qweb' : [
|
||||
"static/src/xml/*.xml",
|
||||
],
|
||||
"active": True
|
||||
"auto_install": True
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"depends": [],
|
||||
"js": ["static/*/*.js", "static/*/js/*.js"],
|
||||
"css": [],
|
||||
'active': False,
|
||||
'auto_install': False,
|
||||
'web_preload': False,
|
||||
}
|
||||
|
|
|
@ -16,5 +16,5 @@
|
|||
'qweb' : [
|
||||
"static/src/xml/*.xml",
|
||||
],
|
||||
'active': True
|
||||
'auto_install': True
|
||||
}
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
""",
|
||||
"version" : "2.0",
|
||||
"depends" : [],
|
||||
'active': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
|
|
@ -16,5 +16,5 @@
|
|||
'qweb': [
|
||||
"static/src/xml/*.xml"
|
||||
],
|
||||
'active': True
|
||||
'auto_install': True
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"version" : "2.0",
|
||||
"depends" : [],
|
||||
"installable" : False,
|
||||
'active': False,
|
||||
'auto_install': False,
|
||||
'js' : [
|
||||
"../web/static/lib/datejs/date-en-US.js",
|
||||
"../web/static/lib/jquery/jquery-1.6.4.js",
|
||||
|
|
|
@ -9,5 +9,5 @@
|
|||
"depends": [],
|
||||
"js": ["static/src/js/*.js"],
|
||||
"css": ['static/src/css/*.css'],
|
||||
'active': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue