Thursday, October 8, 2020
1 change · master
Enhancements to existing features
Odoo now checks for missing access rules after each module is installed or upgraded, rather than only at the end of a full installation. This helps catch setup issues earlier when modules are installed individually, reducing the chance of missed configuration problems.
Original PR description
Since e1a5ed51dbb9417b357db14eff8ca22400a2e10f, missing ir_model_access are warned at the end of an install. Unfortunately, it is still possible that a module add a model and another module add the corresponding ir_model_access. Since runbot install all module at once, this won't be spot until a single module build is ran when each module is installed independently. This commit proposes to move the check at the end of each module. Note that the log may be repeated multiple times if multiple modules redefine this model. Note that the log will only occur on install and upgrade, not basic registry loading. Linked to #59193