Daily updates from Odoo
Navigate
Branch
Thursday, March 23, 2023
10 changes
Security fixes and vulnerability patches
This update replaces an outdated security comparison method in document sharing and salary contract flows. It helps keep shared document access and salary-related links reliable and protected without changing day-to-day user workflows.
Original PR description
See odoo/odoo#82684
Enhancements to existing features
Fleet managers can now reserve a company car directly for an applicant instead of using a placeholder employee. When a salary package simulation link is generated, the system automatically selects the car reserved for that applicant, reducing manual coordination and lookup work.
Original PR description
Purpose: For now if the fleet manager wants to reserve a car for the applicant that is not yet an employee, they reserve the car by linking it to a fake employee "reserved" as a future driver. Afterwards, when the manager sends the link, they force the car by putting it as an default car, as otherwise the car will not appear in the list of the cars as the future driver is set on it. It requires too much coordination. Instead, it is already possible that the manager sets applicant (corresponding res.partner) as a future driver on the car to reserve it. In this commit, we compute the default car for the res.partner, where they are set as the future driver, so that the fleet manager does not have to manually look up for the vehicle and set it. task - 3053243
The document request wizard now shows user avatars when choosing an owner. This makes it easier for staff to recognize and select the correct person, especially in teams with similar names.
Original PR description
This commit adds the 'many2one_avatar_user' widget to the 'owner_id' field in the document's request wizard. Task-3223323
Code cleanup and technical improvements
This update keeps the purchase invoice extraction feature aligned with a related platform change. It is an internal technical adjustment, helping ensure the feature continues to work smoothly without changing how users interact with it.
Original PR description
In the related community PR the parameter name of a method was changed. This commit reflects this change. task-3140712 Related to https://github.com/odoo/odoo/pull/112684
Miscellaneous changes
Forward-Port-Of: odoo/enterprise#36798
Original PR description
Forward-Port-Of: odoo/enterprise#36798
Before: - When changing the step of a command, the status of the command lines were not completely synchronized. - The filters were not kept when refreshing the page. Now: - When the order changes stage, all orderline statuses are synchronised with the server and sent back to the other preparation dislay. - [IMP] The filters are saved in the localStorage to be reapplied if the page is refreshed (depending on user, database, preparation display). --- I confirm I have signed the CLA an
Original PR description
Before: - When changing the step of a command, the status of the command lines were not completely synchronized. - The filters were not kept when refreshing the page. Now: - When the order changes stage, all orderline statuses are synchronised with the server and sent back to the other preparation dislay. - [IMP] The filters are saved in the localStorage to be reapplied if the page is refreshed (depending on user, database, preparation display). --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/enterprise#37997
When doing the bugprovement of the accounting reports (task-id: 3166902), the Analytic groupby and horizontal group column headers disappears. Since trying to remove the date became difficult without impacting comparison, analytic, horizontal group, etc. We decided after some discussion to simply revert this change. task-id: 3224742 Forward-Port-Of: odoo/enterprise#38054
Original PR description
When doing the bugprovement of the accounting reports (task-id: 3166902), the Analytic groupby and horizontal group column headers disappears. Since trying to remove the date became difficult without impacting comparison, analytic, horizontal group, etc. We decided after some discussion to simply revert this change. task-id: 3224742 Forward-Port-Of: odoo/enterprise#38054
Since [1], the update props is not used anymore in the field API. Some utilization were missing in the refactoring. [1]: https://github.com/odoo-dev/odoo/commit/b5db53b5df6403d2d9b57771854bc36aa5d83583 task-id 3241162 Forward-Port-Of: odoo/enterprise#38531
Original PR description
Since [1], the update props is not used anymore in the field API. Some utilization were missing in the refactoring. [1]: https://github.com/odoo-dev/odoo/commit/b5db53b5df6403d2d9b57771854bc36aa5d83583 task-id 3241162 Forward-Port-Of: odoo/enterprise#38531
This commit will remove a duplicate of the tax report in the manifest of the module and change the wey the send button inside the HMRC wizard works by not saving the model but instead directly uses the obligation. related to #34247 Forward-Port-Of: odoo/enterprise#38415
Original PR description
This commit will remove a duplicate of the tax report in the manifest of the module and change the wey the send button inside the HMRC wizard works by not saving the model but instead directly uses the obligation. related to #34247 Forward-Port-Of: odoo/enterprise#38415
Fix typo introduced in odoo/enterprise#34521 when checking l10n_mx_edi_sat_status condition in l10n_mx_edi_cron_update_sat_status. Otherwise the government-side cancelled invoices would be left untouched in the Odoo database. Forward-Port-Of: odoo/enterprise#38334 Forward-Port-Of: odoo/enterprise#37860
Original PR description
Fix typo introduced in odoo/enterprise#34521 when checking l10n_mx_edi_sat_status condition in l10n_mx_edi_cron_update_sat_status. Otherwise the government-side cancelled invoices would be left untouched in the Odoo database. Forward-Port-Of: odoo/enterprise#38334 Forward-Port-Of: odoo/enterprise#37860