I want all my contacts to have a unique ID so that it will be easy to identify. I tried adding sequence but it only works when trying to create new contacts manually by clicking NEW contact option. I have contacts data in my CSV file. I want ODDO to automatically create a unique ID after I import. Is it possible?
To pytanie dostało ostrzeżenie
Hi,
Add a custom field such as unique_id on res.partner.Override the create() method on res.partner and generate the sequence when the field is empty. This works for both manual creation and CSV imports.
Hope it helps
Hello,
Yes, this is possible, but not through the standard sequence behavior during CSV imports.
By default, sequence-generated IDs are usually assigned when contacts are created manually. For imported contacts, you can either:
- Include the unique reference values directly in your CSV before import, or
- Implement an automated action/customization that generates and assigns a sequence-based ID to contacts after they are imported.
This ensures every contact receives a unique reference even when created through bulk imports.
Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion.
Regards,
Zehntech Technologies Inc.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
Add contact ID
Rozwiązane
|
|
3
wrz 22
|
5430 | |
|
|
2
paź 25
|
1270 | ||
|
|
1
gru 25
|
3187 | ||
|
|
2
lis 25
|
2637 | ||
|
|
1
maj 25
|
3969 |
Hello
Yes it it possible through Automation Rule but, can you please tell that you are on Odoo sass plaform or on premise?