Daily updates from Odoo
Friday, July 5, 2019
2 changes · master
Code cleanup and technical improvements
This update removes an outdated internal programming pattern across several Odoo apps and replaces it with the current standard approach. It should make the system easier to maintain and reduce unexpected behavior for future development, without introducing intended functional changes for business users.
Original PR description
https://github.com/odoo/enterprise/pull/4721
This update modernizes internal code across several Odoo apps so they no longer rely on an older programming pattern scheduled for removal. It should not change day-to-day functionality, but it reduces future upgrade risk and keeps these apps compatible with the platform.
Original PR description
Adapt all code that was using `api.one` to recordset-style method and remove any and all calls to `api.one` in preparation for its removal.