Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

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

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
createuseremployeeduplicate
3 Respostas
9247 Visualizações
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
Cancelar
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)
Melhor resposta

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
Cancelar
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
Melhor resposta

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
Cancelar
Avatar
Jan Veddeler
Melhor resposta

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
Cancelar
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.

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Odoo14 Creating user automatically creates employee Resolvido
user employee
Avatar
Avatar
1
mar. 21
5980
should a real employee be linked to the user Administrator?
user employee
Avatar
Avatar
Avatar
2
mar. 15
7588
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
7119
How to link Employee to User for Timesheet to work properly? Resolvido
user employee timesheet
Avatar
Avatar
1
mar. 24
7891
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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