Monday, February 20, 2023
4 changes · master
Resolved issues and error corrections
The web framework's record creation service now supports creating several records in a single operation instead of requiring separate repeated actions. This reduces unnecessary work and helps business processes that create batches of records run more efficiently.
Original PR description
Before this commit, the "create" function of the ORM service didn't allow to pass multiple records. As a consequence, it was needed to create records one by one calling the ORM create multiple times. This commit fixes the issue. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Email action buttons such as "View Task" now appear in the recipient partner's language instead of the sender or current user's language. This improves clarity for customers and users receiving automated emails in multilingual environments.
Original PR description
Email Access buttons (e.g. "View Task") must be in partner's language and not current user's language
This fix prevents an error when opening or customizing the manufacturing work order planning view without selected records. It skips an availability check when there is no relevant data, making the view more reliable for users working with Odoo Studio.
Original PR description
Traceback happens because it doesn't require records and call the function without row records. The code doesn't handle that case. Don't try to find unavailabilities in that case and just skip this part of code 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 update adjusts parts of Payroll and Knowledge so they continue to work correctly after a change in how new records are created behind the scenes. It prevents failures in related screens and keeps automated checks passing.
Original PR description
The PR https://github.com/odoo/odoo/pull/111965 has as a side effect to change the value returned by the create method of the orm service. Here we adapt the code that uses it and make the test pass.