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?
Bu soru işaretlendi
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.
Tartışma hoşunuza mı gidiyor? Sadece okumakla kalmayın, katılın!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
Add contact ID
Çözüldü
|
|
3
Eyl 22
|
5432 | |
|
|
2
Eki 25
|
1270 | ||
|
|
1
Ara 25
|
3189 | ||
|
|
2
Kas 25
|
2639 | ||
|
|
1
May 25
|
3972 |
Hello
Yes it it possible through Automation Rule but, can you please tell that you are on Odoo sass plaform or on premise?