Friday, September 30, 2022
3 changes · master
Resolved issues and error corrections
This update fixes and improves several manufacturing work order screens, including tablet, kanban, pop-up, and HR-related flows. It should make shop-floor operations smoother and reduce friction for teams managing production tasks and employee interactions.
Payroll managers without administrator rights could be blocked from opening certain salary advantage records when requested document fields were present. The update hides the restricted field from users without the needed rights, restoring access while keeping permissions intact.
Original PR description
If you are a payroll manager but do not have administration rights, you will not be able to access records with a non-empty "requested_documents_field_ids". This commit removes this issue by removing the visibility of the field for those who don't have the correct access right. taskID 2902090
Appraisal goals now follow clearer access rules, allowing employees to create relevant goals while limiting manager changes to appraisal officers. The update also prevents errors when searching employee or manager fields, making appraisal goal management smoother and more reliable.
Original PR description
This commit fixes the way goal fields work in hr_appraisal, as well as the role of appraisal officer: - appraisal officers are now automatically set as employee officers - someone without appraisal access can create goals for himself, their subordinates as well as people having them as manager on an appraisal. - only appraisal officers can modify the goal's manager - a goal's manager is the employee's manager, but if no manager is set for the employee, the user will be set as manager. This commit also fixes the appearance of a traceback appearing while searching through the employee list of either the employee or manager field. taskID 2967514