[ADD] hr_timesheet_amount_security: New module#912
Conversation
fcvalgar
left a comment
There was a problem hiding this comment.
Great work on this contribution @EmilioPascual.
The module is clear, focused, and correctly applies the analytic amount security group to protect sensitive cost fields while keeping the operational timesheet flows available.
I have performed the following functional tests:
Test 1: OK - A user without “Allow to read analytic costs” can access the timesheet analysis report but cannot see the Amount field.
Test 2: OK - A user with “Allow to read analytic costs” can see the Amount field in the timesheet analysis report.
Test 3: OK - A user without the permission cannot see Timesheets Cost, Attendance Cost, or Cost Difference in the timesheet attendance report.
Test 4: OK - A user with the permission can see the protected cost fields in the timesheet attendance report.
Test 5: OK - The module does not block the creation or consultation of regular timesheet entries.
Test 6: OK - Adding and removing the permission correctly changes the visibility of the protected fields.
Test 7: OK - The protected fields are correctly restricted through the expected analytic amount security group.
LGTM
|
This PR has the |
Module for hide costs inside pivots in Timehseets > Reporting:
@rafaelbn @chienandalu @Gelojr could you review, plz?
MT-14618