Tuesday, November 1, 2022
2 changes · master
Resolved issues and error corrections
This fix ensures users can add timesheets from the grid view when working with a newly created employee. It prevents a workflow blockage by automatically using the employee context when creating the timesheet entry.
Original PR description
…work Before this commit, when create new employee and click to timesheet button that time adding a new timesheet from the grid view doesn't work. After this commit, In hr_timesheet we have use default_employee_id form context while creating timesheet record if employee_id is not present in vals, so when create new employee and adding a new timesheet from the grid view it is work. task-2997996
Miscellaneous changes
Currently, when importing CAMT files, we are building a unique import id for each statement line by using the elements AcctSvcrRef and NtryRef. However, it could happen that these elements are the same for another statement line on the same IBAN account/journal. We should include the statement name in the unique import id to correctly identify these two distinct operations instead of preventing the import of the operations, forcing the user to manually change the file. opw-3038551 Forward-Po
Original PR description
Currently, when importing CAMT files, we are building a unique import id for each statement line by using the elements AcctSvcrRef and NtryRef. However, it could happen that these elements are the same for another statement line on the same IBAN account/journal. We should include the statement name in the unique import id to correctly identify these two distinct operations instead of preventing the import of the operations, forcing the user to manually change the file. opw-3038551 Forward-Port-Of: odoo/enterprise#33470 Forward-Port-Of: odoo/enterprise#33392