Thursday, June 20, 2024
2 changes · saas-17.3
Resolved issues and error corrections
This fix prevents an installation error when the French time off localization is used alongside another time off localization. It updates the calculation logic so multiple employee leave records can be processed together reliably.
Original PR description
how to reproduce: -install l10n_fr_hr_holidays -install l10n_hk_hr_holidays -> error of ensure_one related infos: first appearance: https://github.com/odoo/odoo/commit/f72ac3a14d76d4fb53ec3a092d08afafe4c35888 version: 17.3 reason: The _get_durations method is now made to be called in batch, so it should be able to handle multiple records but its logic was not reflecting that due to the condition that is actually making the method implicitly ensure_one. fix: adapt the logic to handle multiple records task-3932806 Note: This task has been retarget to saas 17.3 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents product snippet sample items from crashing when displayed on website sales pages. It adds the missing default handling needed for sample products, keeping storefront previews and product sections stable for users.
Original PR description
Introduced by f1df88e8d2092b0d4e9ce2bba155a5084edfe86f, sample data does not have 'prevent_zero_price_sale' value added a default value --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr