manager user not get hr request send by employee

Bug #716271 reported by pritesh
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

Hello

               I am currently working on hr_holiday module with openerp.6.0.1 version ?

there is following bugs or functionality not working

1- As per business rules hr manager can only create allocation request.. but here hr user also create a allocation requests

2- Hr manger /project manager not getting the leave request for approval or not even seen in the manager login

3 where to define the public holidays?

i am right now working on to find out the problem

thanks
pritesh modi

is it a bug or some thing i forget to define to make this functionality working

Related branches

pritesh (pritesh-modi24)
security vulnerability: yes → no
visibility: private → public
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I am confirming this bug for only the issues which are given as follows.

1) We defined the "hr user" as the person who work in hr department or who is manager of a department so he has the right to approve an expense or a holiday. So he will see only his and his department 's leave requests or approve only his and his department's leave requests
  -> Now in group "Hr/user" dispaly the all employee's holidays which is wrong.

2) Only in "hr/manager" group not approved the holiday because in button of the "Approve" only set the group of hr user there is also set the hr manager group.

So in the above bug 's specification issue number 1 is invalid.
Issue number 2 is invalid because in currently the hr manager can see the all employee 's leave requests but only not approve it.
And the issue number 3 is wish-list, so I will post a new bug report as a wish-list for the issue number 3.

Thanks for the participation.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Note that it is okay if the HR/Manager does not have access to the Approve button, because we also designed the groups so that XX/Manager and XX/User are orthogonal when possible. XX/Manager needs to see dashboards, statistics, reporting, and XX/User is able to actually modify, confirm, make workflows progress and so on.
Having orthogonal groups like this allows to have manager users that can only use the reporting, because sometimes the manager is not the one that should be modifying things.
So we could say that if an HR/Manager would like to confirm himself the leave requests, he needs to have the HR/User group too.

Revision history for this message
pritesh (pritesh-modi24) wrote :

Hello

         Thanks for information, I think there is different group to be create as there is lot of business process and functionality involved here .as we can see that for leave allocation,leave approve and leave request with two level authentication.

          If we check generalize business process lot of limitations are coming here with this two group and not able to differentiate to allocate the hr_manager group and hr_user group to any employee.

 Any buddy knows about where to define
                         3 where to define the public holidays?

Thanking you
pritesh modi

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Pritesh,

There is not available "define the public holidays" feature in current trunk. So we set it to as a wish-list for the future road-maps.

You can see this here :- https://bugs.launchpad.net/openobject-addons/+bug/716319

Thanks

Changed in openobject-addons:
milestone: none → 6.1
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Hello pritesh,

The problem is fixed in lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-psi2.

Revision No: 4642
Revision ID: <email address hidden>

Thanks
PSI

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Purnendu Singh

HR/User can also able to see its departement's member leaves.
Your diff seems working only for HR/Manager.

correct it.

Changed in openobject-addons:
status: Fix Committed → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Hello,

I have improve the code as suggested by mustufa rangwala and the problem is fixed in lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-psi2.

Revision No: 4643
Revision ID: <email address hidden>

Thanks
PSI

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.