Daily updates from Odoo
Thursday, January 9, 2020
6 changes · master
Resolved issues and error corrections
This update corrects an incorrectly written filter used when selecting stock operation types for stock rules. It helps ensure the stock rule setup screen behaves as intended and avoids confusion or errors caused by the malformed filter.
Original PR description
Commit 6c4447e set a new domain on picking_type_id of stock rule but it was wrongly written. This commit make it syntactically correct. Task: 2169836 Description of the issue/feature this PR addresses: 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
This fixes how blog dates are formatted so the displayed year matches the actual calendar year. It prevents confusing dates around the start or end of a year, improving accuracy for website visitors.
Original PR description
In the format_date function of babel.dates, there is a difference between `yyyy` and `YYYY`. `YYYY` should only be used in combination with the week number. See issue https://github.com/python-babel/babel/issues/419 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents Odoo from recalculating certain stored editable fields when their values are already present in the database. It helps preserve existing data and avoids unnecessary processing during normal operations.
Original PR description
Master try of https://github.com/odoo/odoo/pull/42312 Todo cherry-pick rco-odoo commit when accounting is fixed :D (to have the tests and authorship) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an unstable automated check in the Sales app that could fail unpredictably. The change helps keep quality checks reliable so future Sales updates can be validated with fewer false alarms.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an inconsistent automated check in the rental sales area. It helps ensure future changes are tested more reliably, reducing the chance of false failures during development.
This fix ensures dates show the correct calendar year in reports and planning views, especially around year-end. It prevents confusing or inaccurate year labels caused by using a week-based year format where a normal calendar year was intended.
Original PR description
In the format_date function of babel.dates, there is a difference between `yyyy` and `YYYY`. `YYYY` should only be used in combination with the week number. See issue https://github.com/python-babel/babel/issues/419 Linked Community PR: https://github.com/odoo/odoo/pull/42735