Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

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

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
createuseremployeeduplicate
3 Risposte
9241 Visualizzazioni
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
Abbandona
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)
Risposta migliore

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
Abbandona
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
Risposta migliore

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
Abbandona
Avatar
Jan Veddeler
Risposta migliore

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

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Odoo14 Creating user automatically creates employee Risolto
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
7586
Same user can be allocated to multiple employees!!!!
user employee
Avatar
Avatar
Avatar
Avatar
Avatar
4
mar 15
12980
Trying to create a res.user record in code
user employee custommodule
Avatar
Avatar
1
nov 23
7115
How to link Employee to User for Timesheet to work properly? Risolto
user employee timesheet
Avatar
Avatar
1
mar 24
7890
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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