Odoo Help


Restricting Leave Management process based on users

on 1/27/15, 2:24 AM 710 views

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?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/27/15, 2:24 AM
Seen: 710 times
Last updated: 3/16/15, 8:10 AM