Files
odoo_source/odoo/modules
Roy Le 89924c2edc [FIX] core: avoid error when using env from api.Environment in
pre_init_hook

When reinstalling a module, an error occurred if using env from
api.Environment in pre_init_hook.

Example:
- Module A depends on module B, and model M that created from module A
- When reinstalling module B, an error occurred if using env['M'] in
pre_init_hook

closes odoo/odoo#124086

X-original-commit: 70fcfa0d9cdf51964fce1a3be31bbd26258e2275
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2023-06-08 09:09:55 +02:00
..
…