Comment 5 for bug 1082009

Revision history for this message
Anto (abourguignon) wrote :

Hello Martin,

The permissions seem ok to me. Your video shows an expected behavior because you are using the Administrator account, which has all the rights. But if you proceed to the same test (change the start date of an approved leave request) with the demo user, you'll get an "Access Denied" error, as expected.

In the code of hr_holidays.py, this restriction is formulated as followed:
'date_from': fields.datetime('Start Date', readonly=True, states={'draft':[('readonly',False)], 'confirm':[('readonly',False)]}, select=True)

Hope that helps !

Regards,
Anto.