Wednesday, May 3, 2017
1 change
Enhancements to existing features
Updates to custom models and fields are now handled more safely and consistently, reducing the chance of partial changes that can leave databases in an inconsistent state. The registry and cache refresh process was streamlined so changes are applied transactionally at the end of a request, making customizations easier to extend and maintain.
Original PR description
Refactor the code, and improve it in the following ways: - remove deprecated class `RegistryManager`; - simplify APIs of registry setup by removing parameter `partial`; - delegate addition of custom models/fields to models `ir.model` and `ir.model.fields`, which makes it easily extensible; - always perform registry/cache signaling at the end of request, and make updates on custom models/fields fully transactional.