Daily updates from Odoo
Friday, May 24, 2019
2 changes · master
Code cleanup and technical improvements
This change updates the web module to use Odoo's shared content caching setting for menu loading instead of a separate hardcoded value. It keeps caching behavior more consistent across the platform and reduces future maintenance risk, with no expected visible change for users.
Original PR description
use CONTENT_MAXAGE to define the max-age instead -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change avoids cleaning up the same interface component children twice when a component is closed or removed. It reduces unnecessary background work and slightly improves performance without changing user-facing behavior.
Original PR description
This commit prevent from going through the widget's children twice when `destroy()` is called : * once in `ParentedMixin` * once in `Widget`