Odoo Discussion

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Users vs. Contacts vs. Employees

Avatar
Balaji Kannan

I believe Users are tied to Employees through the Contact (Related Partner that is created on user import/creation). Is there a way to perform an upload (e.g., of all of our users) and have the employees auto-created vs. having to click the Make Employee button on each User?

Avatar
Discard
1 Answer
0
Avatar
Antonio Yamuta
Best Answer

Comment from client

perhaps you know the answer to this question or can find it for us? Joe and I were discussing Employee upload, but I don't know that we'd want to do a separate upload, as I'm guessing that might create manual work where those employees would need mapped to users? 

Response to client.

res_users(Users) model inherits res_partner(Contact/Partner)
A Partner(res_partner) is automatically created when a User(res_users) is created.
An Employee(hr_employee) is tied with Users(res_users) and Partner(res_partner)
However when creating a User it does not automatically create an employee.

There's this module that does that sh_create_employee_from_user on odoo's apps but not sure if that works thru import.


Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!