Wednesday, April 10, 2024
3 changes · master
Resolved issues and error corrections
This fixes access settings for Australian payroll employee fields so they are only available to appropriate HR users. It prevents errors caused by payroll-related information appearing in the public employee profile where it should not be accessible.
Original PR description
Issues: The model hr.employee requires the group hr.group_hr_user for fields that are not accessible in the employee public profile. The new fields missed the groups. https://runbot.odoo.com/web#id=61373&view_type=form&model=runbot.build.error&menu_id=405&cids=1 Fix: Adds the missing groups on the fields `l10n_au_super_account_ids,super_account_warning` on h.employee.
This fixes an issue where items could appear in the wrong order on the preparation display when starting a database. Staff will see orders in the intended sequence, reducing confusion during preparation workflows.
Original PR description
Make the sequence ordered works in preparation display when starting a db
Grouping planning shifts by role no longer fails when an employee has no working calendar assigned. This keeps planning views usable even when employee schedule information is incomplete.
Original PR description
Steps to Reproduce:
----------
- Install the planning module.
- Navigate to the employee app.
- Create an employee without a working calendar.
- Navigate to the planning app.
- Create a shift.
- Try to group shifts by role.
Issue:
-------
When trying to group shifts by role, a traceback occurs if an employee is without
a working calendar.
Cause
-----
The traceback arises due to the inability to find work intervals for resources without
a working calendar.
Solution:
----------
If a resource has a working calendar, the system retrieves work intervals; otherwise,
it sets the intervals to 0.
task-3858539