← Back to team overview

openerp-india team mailing list archive

[Bug 1005795] [NEW] [6.1] edit approved holiday in calendar view

 

You have been subscribed to a public bug:

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

** Affects: openobject-addons
     Importance: Low
     Assignee: OpenERP R&D Web Team (openerp-dev-web)
         Status: Confirmed

-- 
[6.1] edit approved holiday in calendar view
https://bugs.launchpad.net/bugs/1005795
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons.


References