Monday, December 20, 2021
4 changes · master
Enhancements to existing features
This update adds a small marker to the HR Contract page so automated payroll walkthroughs can reliably find the right section. It does not change day-to-day functionality for users, but it helps support better testing and guidance for payroll-related processes.
Original PR description
Adds a class on the notebook page in order to create a JS tour for `hr_payroll`. TaskID: 2661217 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
HR Officers can now view and edit employee tags, instead of this being limited to HR Administrators. This makes employee categorization easier to manage while aligning permissions with existing HR Officer responsibilities.
Original PR description
The tags management on an employee was limited to HR Administrator, which didn't make sense as an HR Officer could manage the tags just not assign them to an employee. TaskID: 2715498 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail system now automatically handles certain internal relationship settings that previously had to be declared manually. This reduces duplicated setup work for developers and lowers the risk of unnecessary maintenance without changing the user experience.
Original PR description
IdentifyingFields and fields marked `required` must have their inverse with `isCausal: true`. This led to having to systematically declare inverses on the related models in order to explicitly add `isCausal: true` to them, even when these inverses are not used for anything else. This commit automatically adds `isCausal: true` to the inverses generated by the framework when they are related to required fields or identifyingFields. Thus, it is no longer necessary to declare inverses if they are not used for anything else. This commit also removes all the inverses that are no longer needed thanks to this change.
Approvals, electronic signatures, and VoIP activities were updated to align with Odoo's newer activity view structure. This helps keep these workflows consistent and maintainable, with limited direct impact on day-to-day users.
Original PR description
part of task-2579306