Monday, February 20, 2023
3 changes · master
Resolved issues and error corrections
Emails opened from a contextual menu now display the selected template in the appropriate recipient language instead of the default language. This helps businesses send clearer, localized communications when using predefined mail templates.
Original PR description
When sending a mail template from a contextual menu configured to be sent in the user language, it was always in the default language. This solves the problem. Technical note: using the contextual menu force the mass mode which doesn't render the template as there might be more than one recipient. We face the same problem for recipient language. Here we have chosen to set the message in the language determined by the first record selected. Task-2742033 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
The forecasted inventory report now correctly shows reserve and unreserve actions for manufacturing orders. It also removes a misleading zero inventory line when there are no related stock moves, making the report clearer for users.
Original PR description
Before this commit, the reserve and unreserve buttons did not appear for MOs. Another bug was also fixed, removed the 0 Inventory on Hand line that appeared when there are no moves in the report. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The ORM service can now create several records in a single action instead of requiring repeated separate creates. This reduces extra processing and keeps related screens and tests aligned with the updated behavior across affected Odoo apps.
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 or call create via the method call. This commit allows to use the create method to create several records at once.