openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13879
[Bug 1005795] Re: [6.1] edit approved holiday in calendar view
** Project changed: openobject-addons => openerp-web
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1005795
Title:
[6.1] edit approved holiday in calendar view
Status in OpenERP Web:
Confirmed
Bug description:
Hi,
Using OpenERP 6.1 with webclient.
Users can modify the approved leave requests without HR manager rights
from the calendar view, they just have to drag&drop their leave
request.
This is an issue because they are able to move their leaves / holidays
which have already been approved by their manager ;-)
Actual :
- An approved holiday can not be modified in form view by an HR user without HR manager rights (fields are read only), but it can be moved in the calendar view, so the start / end dates are modified.
Expected:
- An approved holiday can never be modified by an HR user without HR manager rights, even in calendar view.
To reproduce :
- I connect with a user A without HR manager rights
- I create a leave request from june 25. to june 29.
- I confirm it (state -> pending approval)
- I disconnect from user A
- I connect with user B with HR manager rights
- I approve the leave request of user A
- I disconnect from user B
- I connect with user A without HR manager rights
- I open my leave request, try to edit in form view -> fields are read only
- I select the calendar view, drag&drop my leave request to june 18. to june 22.
-> the leave request is updated my these dates
Have a nice holid... errh a nice day,
Thanks
Guewen
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/1005795/+subscriptions
References