Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] util.modules: new hack to force the execution of upgrade scripts
Allow ``_force_upgrade_of_fresh_module`` in upgrade-util to force the execution of upgrade script for new install modules Unlike the old hack where 1. ``module_node.init`` can be changed by ``_force_upgrade_of_fresh_module`` through changing the global ``config['init']``. 2. ``module_node.init`` was propagated only through one of the longest module dependency path. The new hack uses a new explicit variable ``registry._force_upgrade_scripts`` without changing the global ``config``. odoo/odoo#189000 closes #176 Signed-off-by: Raphael Collet <rco@odoo.com>
- Loading branch information