[IMP] openerp.modules.loading: -i all seems to work as documented in --help.
bzr revid: vmt@openerp.com-20111117150720-uaer043c2k55937n
This commit is contained in:
parent
99f99b6d83
commit
b6b25ea706
|
@ -307,7 +307,8 @@ def load_modules(db, force_demo=False, status=None, update_module=False):
|
|||
modobj.update_list(cr, 1)
|
||||
|
||||
if 'all' in tools.config['init']:
|
||||
pass
|
||||
ids = modobj.search(cr, 1, [])
|
||||
tools.config['init'] = dict.fromkeys([m['name'] for m in modobj.read(cr, 1, ids, ['name'])], 1)
|
||||
|
||||
_check_module_names(cr, itertools.chain(tools.config['init'].keys(), tools.config['update'].keys()))
|
||||
|
||||
|
|
Loading…
Reference in New Issue