Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Best Practices for creating Users and Employees without creating duplicate Contacts?

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
createuseremployeeduplicate
3 Respuestas
9261 Vistas
Avatar
Community Question

I can create a User, and then select this User on the Employee record (HR Settings) during creation of the Employee.

I can create an Employee, then choose the CREATE USER action.

Is there a difference? For some Employees I have duplicate Contact records and I think it has something to do with the order of creating the Employee and the User.

2
Avatar
Descartar
Isabelle Lopez

I had same problem. 

Thanks !

faOtools

Perhaps, this module - https://apps.odoo.com/apps/modules/17.0/partner_duplicates - might be helpful for the goal.

Avatar
Ray Carnes (ray)
Mejor respuesta

Create Users First, then Employees that link to them

Creating the User creates a Contact with the same name and email as the User, where edits to the email only change the Contact but edits to the name of either record are synchronized back to the other (ie: Name changed on the User --> also changes the Name on the Contact)

Creating the Employee creates a Contact with the same name and email, where no edits are synchronized back to the other (ie: Name changed on the Employee --> changes nothing on the Contact)

When you create the User via the CREATE USER action you will also create a Contact.

If you have already created Contacts for the User and/or Employee you plan to create (or end up with a duplicate), you can merge the duplicate Contact that gets created. Select both Contacts, then choose the MERGE action. You will then pick the Destination Contact that all documents linked to both contacts will end up, and the contact you don't select will be deleted after the merge.

Contacts are promoted to become a Vendor and/or a Customer based on Invoices and/or Bills being created for them. All contacts can always be found from all Menus that work with Contacts - such as any Customer and any Vendor Menu. You just need to clear the "Customer Invoices" and/or "Vendor Bills" filters to see them.

When archiving the Employee, the Contact is not archived. When archiving a User, the Contact is not archived. You can archive the Contacts if/when you need to but generally they would remain because they are linked to other documents in Odoo (and once a Contact is linked to something else, you can not delete it).

Since you cannot create two Users with the same email address, you will not run into a situation where you accidentally create the User twice.

You can create the User 'inline' when creating the Employee. This involves entering the new User name in the selection field on the HR Settings tab of the Employee and creating the User BEFORE saving the Employee. In this case there is no duplicate Contact record created.

The best practice would be to create Users First, then Employees that link to them - either one at a time, linking them to the User during creation - or via an import that links them to the related User record during import. This results in a single Contact record being created (when the User is created) instead of a separate Contact record when the Employee is created without being linked to a User (or using the CREATE USER action). Since this is the Contact record created by the User, edits to the name are synchronized between Contact and User.

5
Avatar
Descartar
Tim Drinkwater

We are currently having what may be a related issue. We need to issue a check directly to a person that is also an employee, reimbursement for work boots. When creating the check it prints the company name. The journal entry seems to be attached to the employee properly but the name on the check is our company and not their name. This seems to be tied into how the contacts interact. What is the best solution?

Ray Carnes (ray)

Please open a ticket with Odoo Support. I just created a Vendor Check to a Contact linked to a Company and it was made out to the Contact, with the address being "Company, Contact" followed by the Company address - so it requires a deeper look.

Tim Drinkwater

Thank you Ray. I submitted a ticket. I replicated the process on runbot with the same results I'm seeing in our instance.

Tim Drinkwater

After some trials it seems that setting up the private contact for the employee allows a bill payment directly to them. It seems the private contact/address was a step that we missed during implementation.

On a related note what is the best process for creating and employee that will not have a user account but then later does. At that point do you create the user account then merge them?

Ray Carnes (ray)

If you create the User after creating the Employee and it creates a duplicate contact, you would merge them if you find it problematic to have two. I'm not fully versed in what happens with each version with all combinations of creation/assignment of Employees/Users.

Herbert Van de Poel

Thanks for the clarification Ray; we often first create a contact (a freelancer) via purchasing app. Afterwards, this contact needs access to certain application like timesheets. Therefore our way of working is: create contact; grant portal access --> ext. user is created; promote ext user to internal user; create employee (from the action button on the user) to link to internal user.

Eauzon

There is something strange with employee contacts. They are linked to the company using the employee record only.

The linked contacts cannot be associated to the company. This means, an employee cannot be a contact for its company or things go awkward.

And that is a strange thing. When looking at runbot and going to 'My Company' in contacts app, you see that company has two contacts, (CEO and COO) ... no clue or indication that there are a lot of employee contacts linked to the company.

Avatar
Giang Vu
Mejor respuesta

Hello Ray, can you clarify the point of linking a Contact to a Company?

Normally, when I create a User, the Contact is also created automatically. Then I link that Individual Contact to my Company. Then when I create an Employee out of that User, the Employee and the "Company, Contact" are linked to each other.

The "Company, Contact" cannot handle bank accounts itself. It cannot be a Vendor or a Customer properly, so I cannot do "employee reimburse" from the Expenses app. After I cut the link between a Contact and the Company, everything seems to work well.

Thus, are there any functions that require that linkage, except making the Contact look tidier?




1
Avatar
Descartar
Avatar
Jan Veddeler
Mejor respuesta

The way to avoid duplicates is to use the Odoo feature "Create User" from the Employee, available under the options wheel on employee level. This also assigns the freshly created user to the employee and avoids duplicate contacts. 

0
Avatar
Descartar
Ray Carnes (ray)

Yes, this is how it works with Odoo 17. For Odoo 16 we still have the problem of the duplicate being created.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Odoo14 Creating user automatically creates employee Resuelto
user employee
Avatar
Avatar
1
mar 21
5983
should a real employee be linked to the user Administrator?
user employee
Avatar
Avatar
Avatar
2
mar 15
7591
Same user can be allocated to multiple employees!!!!
user employee
Avatar
Avatar
Avatar
Avatar
Avatar
4
mar 15
12981
Trying to create a res.user record in code
user employee custommodule
Avatar
Avatar
1
nov 23
7121
How to link Employee to User for Timesheet to work properly? Resuelto
user employee timesheet
Avatar
Avatar
1
mar 24
7892
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now