problem in asking for a leave

Bug #1218045 reported by Adam Saadeh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Human Resources - Next Generation for OpenERP
Fix Committed
Medium
Michael Telahun Makonnen

Bug Description

When the ordinary employee "not a manager" ask for a leave from "My leave" the following error is appeared:
 Constraint Error
The employee or employee category of this request is missing. Please make sure that your user login is linked to an employee.

I am sure that the employee has a user login "actually he uesd it to enter to the system" . So where is the prblem

Related branches

Revision history for this message
Michael Telahun Makonnen (mmakonnen) wrote :

I need more information to debug this. Please provide:
 - the list of modules installed from this repository
 - a screen shot of the leave request form

Changed in addons-hr-ng:
status: New → Incomplete
assignee: nobody → Michael Telahun Makonnen (mmakonnen)
Revision history for this message
Adam Saadeh (emmad2000) wrote :

Thanks Michael,

- The modules that installed are: - All modules of yours (hr-ng) (up to the latest one 27/08/2013)
- All the modules from openerp that your modules depends on
- openERP v7. (with out any extra modules)

Please have the screen shot as attached and also note that as seen in the file the employee named Hadeel from her account can't make/request a new leave. Also note that while filling the form seen in the attached screen the (to) filed and all the rest of fields (return date, rest days,..) are supposed to be filled automaticaly as in the case when the admin or HR manager fill the same form. But in our case the fields are not filled at all.

Revision history for this message
Michael Telahun Makonnen (mmakonnen) wrote :

Ok, I've managed to reproduce it. It happens when the employee (with normal user rights) creates a new leave from "My Leaves". Working on a fix...

Changed in addons-hr-ng:
status: Incomplete → Confirmed
importance: Undecided → Medium
Revision history for this message
Michael Telahun Makonnen (mmakonnen) wrote :

Please update your modules and try again. Should be fixed from revision 27.

Changed in addons-hr-ng:
status: Confirmed → Fix Committed
Revision history for this message
Adam Saadeh (emmad2000) wrote :

Hi,

Still there are problems in asking for a leave or request for a leave from the ordinary employee account. Please check!

- make an ordinary employee
- log to the system using that account
- ask for a leave or request allocation for a leave

An error will appear in the two cases. Also there are technical error when filling the fields for example why to ask for the employee name "it is better to fill it automatically"

Please Check this

Revision history for this message
Adam Saadeh (emmad2000) wrote :

Continue from the last comment: Note that the previous two errors [ask for a leave and allocation for a leave ] appeared when I used all the files in revision 33.

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.