I have the following scenario regarding leave approvals of certain resource:
Resource | Branch 1 Approvals | Branch 2 Approvals | Branch 3 Approvals
User A | User E | |
User B | User E | |
User C | User A, User E | B2 M1 | B3 M1
User D | User A, User E | B2 M1, B2 M2 | B3 M1, B3 M2
User E | Branch 1 Manager | B2 M1 | B3 M1, B3 M2
B2 M1 - Branch 2 Manager 1, B2 M2 - Branch 2 Manager 2, B3 M1 - Branch 3 Manager 1, B3 M2 - Branch 3 Manager 2
The leave management process in Odoo should be customised in a certain way that for different users, leave should be approved by different people. The current leave management process is defined as a workflow where different stages (i.e. confirmation of leave request, approval of leave request) is handled by a user group (e.g. leave request approve - Human Resource/Officer). This workflow applies to all employees.
Is there a way to customise this process so that the leave management process is different for certain users without actually making code level changes?
Another problem is that users with the same permission level can view and perform actions on all the records they have permission to (e.g. B2 M2 can only approve User D's leave. But right now B2 M2 can view and approve all the leave B2 M1 has access to.). Is there a way to restrict this without resorting to coding?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/27/15, 2:24 AM|
|Seen: 404 times|
|Last updated: 3/16/15, 8:10 AM|