[FIX] FakeModelLoader: avoid loading module again on restore_registry() for Odoo 15.0+ [FIX] Ensures registy is cleaned up in addons without models
- [IMP] Allow to ignore Odoo core modules to avoid warning
- .gitignore added
- [FIX] AttributeError in Odoo 15+, regression introduced in 2.0.3
[FIX] restore_registry in Odoo 16
This new attribute is the source of truth for the base classes and in setup_models (called further down in the modified code in this PR), the model's base classes are reset from it:
The test failure fixed by this PR can be inspected in https://app.travis-ci.com/github/OCA/odoo-test-helper/builds/258453331
- Fix
mock
import for v15
- Fix support for Odoo 15.0
- Move to OCA
- Re-license to LGPL
- Refactoring (misc imp/fix)
- Initial release