Odoo Help

0

How do i delete an employee?

By
Eberechi Nduka
on 4/11/13, 2:27 PM 2,742 views

Hello, please how can i delete an employee from Human Resources/Employee? Every time i try, i get this error- Constraint Error- The employee or employee category of this request is missing. Does anyone have a solution to this?

0
Ray Carnes
On 4/11/13, 2:43 PM

This constraint is related to Holiday or Leave Requests. If this employee has requests that have not been approved or refused, you can delete them and try again.

It isn't a good idea to delete records from the system if they are referred to elsewhere - this employee could also have time sheets, expenses, etc recorded in the system.

If you can, it would be better to make the employee inactive.

image description

Inactive records don't show up when you search for them (if you search for an inactive employee, they won't be found unless you specifically search for inactive employees), but the other records referring to them still remain in the system.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 4/11/13, 2:27 PM
Seen: 2742 times
Last updated: 3/16/15, 8:10 AM