Daily updates from Odoo
Friday, March 8, 2024
3 changes · master
Enhancements to existing features
Payroll and expense workflows are now better connected, with clearer links between payslips, expense reports, salary entries, and vendor bills. This helps users track reimbursements more easily, keeps related accounting entries aligned, and allows reported expenses to be removed from unpaid payslips when needed.
Original PR description
This aims to: - Improve UI/UX by adding smart buttons linking the models - Improve the entries (salary + vendor bill) generation and automatically reconcile the moves together - Add more links between the payslip and the report to sync states - This also make the hr_payroll_expense module auto installed - Adds the dependency to hr_payroll_account as it is required (also adding account_accountant in the dependencies) - Allow to remove a reported expense from unpaid payslips task-3482475
Field service teams can now access a Planning by Location view to group tasks geographically. This helps dispatchers schedule nearby interventions together, reducing travel time and improving route efficiency.
Original PR description
Allow users to group their tasks by location so that they can plan and regroup interventions in the same area, thus reducing traveling time. task-3608075
Resolved issues and error corrections
When a task or helpdesk ticket is moved to another project or team, draft timesheets now follow it automatically while approved timesheets remain unchanged. This keeps billing information consistent and warns users if the new project does not support timesheets.
Original PR description
> Description of the issue/feature this PR addresses: When a task/helpdesk_ticket contains non-validated timesheets and we change the task's project/helpdesk_team, we want the timesheets to follow…
> Description of the issue/feature this PR addresses: When a task/helpdesk_ticket contains non-validated timesheets and we change the task's project/helpdesk_team, we want the timesheets to follow the new project of the task. By doing that, the timesheets will follow the task's project and the SOL of those timesheets will be correctly based on the SOL set on the task linked. Tests are added to test this behavior. > Current behavior before PR: - When the project of a task/ticket gets modified, the timesheets associated to the task/ticket gets un-linked to the task/ticket no matter the validation status of the timesheets. > Desired behavior after PR is merged: When the user changes the project of a task/ticket with timesheets from the task/ticket form: - If there is at least 1 non-validated timesheet and the new project has not the timesheets feature enabled, raise an warning message to user, and allow the changes - Set the new project_id as the project of the non-validated timesheets - Validated timesheets don't get any changes, and keep their original project. [task-3669013](https://accounts.odoo.com/web#id=3669013&cids=1&menu_id=4720&action=333&active_id=4105&model=project.task&view_type=form) community PR: https://github.com/odoo/odoo/pull/153281 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr