[MERGE] Forward-port 7.0 up to 938502a

This commit is contained in:
Olivier Dony 2014-09-17 15:13:42 +02:00
commit 09ab2d4109
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ def load_modules(db, force_demo=False, status=None, update_module=False):
if not openerp.modules.db.is_initialized(cr):
_logger.info("init db")
openerp.modules.db.initialize(cr)
update_module = True # process auto-installed modules
tools.config["init"]["all"] = 1
tools.config['update']['all'] = 1
if not tools.config['without_demo']: