Daily updates from Odoo
Thursday, February 24, 2022
5 changes · master
Enhancements to existing features
This update renames an internal JavaScript concept in the Mail app to make the code easier for developers to understand and maintain. It does not change how users interact with Odoo, but it can help reduce confusion and support future improvements.
Original PR description
Removes confusion in technical code. An instance of Thread is a thread, by analogy a record should be an instance of Record.
Resolved issues and error corrections
This fix prevents an error that could occur when preparing contract documents for signature. It helps ensure the HR contract signing workflow continues reliably when assigning signing roles.
Original PR description
Data is constructed with 'role' but 'role_id' is used as a key right after.
Receipt scanning for expenses now sets a date even when the automated extraction service cannot detect one. This helps avoid incomplete expense records and reduces manual cleanup for employees and accounting teams.
Original PR description
task - 2768700
Code cleanup and technical improvements
This update refactors the shared web request handling used by several Odoo Enterprise apps. It helps align Enterprise modules with the updated core platform, improving long-term maintainability without introducing a direct business feature change.
Original PR description
Companion of https://github.com/odoo/odoo/pull/78857
Miscellaneous changes
Purpose ======= After adding a printer in the product report, a traceback pops up when we try to print the zpl report. The issue is that **adapterParent.call** is not a function Specification ============= The issue was just a miss-typing, we wanted to use **call** on **iotDevice** and not on **adapterParent** opw-2683600 Forward-Port-Of: odoo/enterprise#24575
Original PR description
Purpose ======= After adding a printer in the product report, a traceback pops up when we try to print the zpl report. The issue is that **adapterParent.call** is not a function Specification ============= The issue was just a miss-typing, we wanted to use **call** on **iotDevice** and not on **adapterParent** opw-2683600 Forward-Port-Of: odoo/enterprise#24575