Monday, January 25, 2021
3 changes · master
Enhancements to existing features
This update makes stock movement rules easier to customize by allowing existing filtering criteria to be inherited and extended. It helps businesses adapt inventory workflows to specific needs with less custom development effort.
Original PR description
Description of the issue/feature this PR addresses: Allow to inherit the domain. @mart-e -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website pages tied to a specific site are now checked more consistently before they are shown, reducing cases where content from the wrong website could be accessed. This centralizes the behavior across many website features, making multi-website setups more reliable and easier to maintain.
Original PR description
Before this commit, routes were prevented to be accessed if the route model was not accessible from the current website, eg you couldn't access blog1 which is set to website2 from website 1. That would raise a 404 even from admin/editor. This commit introduce that behavior at a lowel level in a generic way, instead of having to write it on every route. Note that routes without a model converter won't benefit from this. Closes #63499
The Twitter wall event page now relies on a shared website access check instead of handling it separately in this module. This keeps behavior consistent across website features and reduces duplicate logic, with no expected visible change for users.
Original PR description
See https://github.com/odoo/odoo/pull/64313, can_access_from_current_website is now automatically added at a lowel level on methods with a model converter.