Daily updates from Odoo
Thursday, July 18, 2019
3 changes
Features or functions removed from Odoo
This change removes an old web module loading mechanism that had been broken since earlier compatibility code was removed. Because it was unused and already non-functional, the impact is expected to be minimal while reducing outdated code.
Original PR description
`window.openerp` being undefined, the method `on_modules_loaded` throws an error when reaching its purpose (loading additional modules)... The commit 905e019 removed the compatibility layer for Odoo v8 (compatibility.js) which contained the `window.openerp` declaration. Being broken for that long without consequences, this feature proved to not be useful anymore. We then remove it.
The Mail app no longer shows the custom filter for messages because it was not working properly. This prevents users from relying on a broken search option and makes the filter menu clearer.
Original PR description
Description of the issue/feature this PR addresses: <b> Task:</b> https://www.odoo.com/web?#id=1939953&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 <b> Pad:</b> https://pad.odoo.com/p/r.9eaf33c4bcb04ddbee0af197d5403e1d Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo no longer supports the older model constraint mechanism and now only warns when it is still present. This helps teams move to the newer validation approach while reducing maintenance of outdated framework behavior.
Original PR description
Simply leave a warning in case a model uses a non-empty attribute `_constraints`.