Help

3

Why timesheets are linked to a User instead to an Employee ?

Avatar
assd

As per subject timesheets are User based so you should create a system user foreach timesheed you want to manage. Really timesheet are prepared starting fro Employee form but records are stored using user_id.

In fact if you try to prepare a timesheet for an employee who is not linked to a system user openerp reply with "employee should be linked to a user" and you can't go on...

thanks in advance for some answer rgds

Avatar
Discard
1 Answer
3
Avatar
Ray Carnes
Best Answer

An employee is someone who works for you.

A user is someone who logs into OpenERP.

Since you can't fill out a timesheet without logging in, timesheets are linked to a user, which is then linked to an employee.

Not every employee may login, so not every employee is a user.

8 Comments
Avatar
Discard
Avatar
assd
-

Yes but I could have many employee who is working on field and they don't use a computer so theese employee fills a timesheet on paper than a secretary make the data entry. Another case is when you have a worker on contract (or subcontract) for short time.. you have to create a system user for this too... generally speaking a timesheet is related to someone is working for me not to an openerp user :)

Avatar
Ray Carnes
-

Perhaps a way to log hours for employees who are not users is to use expenses?

Avatar
Tamás Dombos
-

The suggestion is very valid, I agree it is a very likely scenario that many employees are not filling their timesheets online, but rather on paper. Submit a bugreport at https://bugs.launchpad.net/openobject-addons/+filebug

Avatar
Ray Carnes
-

I don't think it will be considered a bug. A better place to log this as a requested feature would be at http://feedback.openerp.com/forums/87923-human-resources

Avatar
assd
-

I agree this issue can't be considered a bug but I think is a bad design concept. I found this http://feedback.openerp.com/forums/87919-project/suggestions/1509145-makes-employee-resource-user-creation-more-straigh and this http://www.mail-archive.com/openerp-expert-service@lists.launchpad.net/msg00029.html that enforce my opinion. Unfortunately both are old and without follow-up

Avatar
gunnar
-

I agree with you. Design ... just a weird one

Avatar
A V
-

Any ideas to implement it ?

Avatar
assd
-

I think that timesheets link should be changed from user to employee...maybe this link is in many dependencies. I hope that current design strategy doesn't depend from $$... because, as you know, OpenERP Enterprise is also paid per user ?!?!