Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
createuseremployeeduplicate
3 Odpovědi
9252 Zobrazení
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
Zrušit
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)
Nejlepší odpověď

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
Zrušit
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
Nejlepší odpověď

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
Zrušit
Avatar
Jan Veddeler
Nejlepší odpověď

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
Zrušit
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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Odoo14 Creating user automatically creates employee Vyřešeno
user employee
Avatar
Avatar
1
bře 21
5980
should a real employee be linked to the user Administrator?
user employee
Avatar
Avatar
Avatar
2
bře 15
7589
Same user can be allocated to multiple employees!!!!
user employee
Avatar
Avatar
Avatar
Avatar
Avatar
4
bře 15
12981
Trying to create a res.user record in code
user employee custommodule
Avatar
Avatar
1
lis 23
7119
How to link Employee to User for Timesheet to work properly? Vyřešeno
user employee timesheet
Avatar
Avatar
1
bře 24
7891
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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