Daily updates from Odoo
Tuesday, August 22, 2023
4 changes · master
Enhancements to existing features
Spreadsheet currency formatting now defaults to the main company currency instead of always using US dollars. This makes currency formatting faster and more accurate for companies operating in other currencies, such as euros.
Resolved issues and error corrections
Approval users can now see approver entries assigned to them, even when the request was created by someone else. They also can no longer accidentally remove themselves as approvers, preventing lost access after a misclick.
Original PR description
Previously: 1. Simple user didn't see the approver lines that they were assigned to, unless it was their own request. 2. Simple user could remove themselves from the approvers list. The problem with this is that if it was misclick, they immediately loose access to the record and they can't undo it. In this commit: 1. we give read access to the simple user to the approver lines that they are assigned to (they are set as user_id). 2. We make user_id field readonly for simple user. task - 3339428
This fixes an error that could interrupt users when editing payslip lines in Payroll. Payroll staff can now change payslip line values and move away from the field without the screen failing.
Original PR description
Steps to reproduce: Go to payroll take a payslip click on - Edit Payslip Lines Modify for example the amount on one of the lines When you click away - you get : Uncaught Promise > Cannot read properties of undefined (reading 'res_id') Cause: Since relational model was refactored, '.__bm_load_params__' has been removed from the model and attempts of reading on it causes TypeError - Cannot read properties of undefined.
Users can once again export electronic invoice documents for Mexico in bulk from the invoice list. This fixes a download issue caused by those documents being stored differently, making compliance document retrieval easier for teams handling multiple invoices.
Original PR description
When selecting several invoices from the list view, it is possible to trigger an action to export all edi documents in a zip file. In 16.4, it was no longer possible to download edi documents for the Mexican localization because they are stored in a different field. With this commit, we extend the function that provide all edi documents to export to also include Mexican ones. task-130177