diff options
| author | Raphael Collet <rco@odoo.com> | 2020-04-02 06:45:54 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-04-03 11:40:26 +0000 |
| commit | 7030fc179d5cfb05e962fbac9ec5e82d55130218 (patch) | |
| tree | 73cec57eb93a9d21967f6628ffbe3c23ea854298 /odoo/modules/loading.py | |
| parent | 9702142204c0177f3c057fbb5bd0ac63f7e85017 (diff) | |
[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
Diffstat (limited to 'odoo/modules/loading.py')
| -rw-r--r-- | odoo/modules/loading.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/odoo/modules/loading.py b/odoo/modules/loading.py index 8cb50e68438..e9c215dc49b 100644 --- a/odoo/modules/loading.py +++ b/odoo/modules/loading.py @@ -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 |
