Friday, November 12, 2021
3 changes
Resolved issues and error corrections
When users add a timesheet line while viewing a different week, the default date now matches the displayed period instead of incorrectly using the current weekday. This helps prevent entries from being created on the wrong date and reduces manual corrections.
Original PR description
Currently, the date set by default is the current day of the week but on the period displayed. step to reproduce:- go to timesheets > my timesheets > go to another week than the current one > add a line After this commit, except for the current week, the date set by default should be the first working day of the period displayed. Task-Id:2585241 PR: #21538
Miscellaneous changes
Currently in 15.0, while an employee is on leave, the timesheet app considers it as overtime and due to that, it shows extra worked hours. In actuality, the employee was on leave. So in this commit, When employees put leaves than the Timesheet consider it as leaves rather than overtime. task-263559 Forward-Port-Of: odoo/enterprise#21918
Original PR description
Currently in 15.0, while an employee is on leave, the timesheet app considers it as overtime and due to that, it shows extra worked hours. In actuality, the employee was on leave. So in this commit, When employees put leaves than the Timesheet consider it as leaves rather than overtime. task-263559 Forward-Port-Of: odoo/enterprise#21918
Previously, the intracom taxes set on an invoice line during the extraction process was always removed. We now first remove it, check if the total amount is still the same and if it is, we can re-apply it. It's a bit weird, but it avoids re-implementing any tax computation mechanism. Forward-Port-Of: odoo/enterprise#22204 Forward-Port-Of: odoo/enterprise#22186
Original PR description
Previously, the intracom taxes set on an invoice line during the extraction process was always removed. We now first remove it, check if the total amount is still the same and if it is, we can re-apply it. It's a bit weird, but it avoids re-implementing any tax computation mechanism. Forward-Port-Of: odoo/enterprise#22204 Forward-Port-Of: odoo/enterprise#22186