[IMP] modules: don't mark all packages as 'update' unless necessary
When installing a database from scratch, marking all packages (in the module graph) as 'update' forces the migration manager to retrieve all migrations scripts... for nothing. X-original-commit: fd8f3c73c8c30162034c7712fa0993e2408fba89
This commit is contained in:
@@ -356,7 +356,6 @@ def load_modules(db, force_demo=False, status=None, update_module=False):
|
||||
odoo.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']:
|
||||
tools.config["demo"]['all'] = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user