Help

0

Add contact ID

Avatar
Matija

Hi all,

I am trying to find solution to add unique identifier for each contact that exists and that will be added in the future (db is v14). I had no luck so far, I see that here is some kind of solution but it's not explained https://www.odoo.com/forum/help-1/how-to-add-a-customer-id-64724

Can anyone please help. Thank you.

Avatar
Discard
3Answers
0
Avatar
Niyas Raphy
Best Answer

Hi,

See an sample use case with sequence and automated section generating unique barcode for products, similarly you can do for contacts in existing fields like or in new field.

Sequential value using automated action: https://www.youtube.com/watch?v=Cz5eM5F


Thanks

Avatar
Discard
0
Avatar
Apiuser
Best Answer

Each contact already has an internal odoo id, so you could just create a new view on the contact showing that field.

Avatar
Discard
0
Avatar
Nimesh Contractor
Best Answer

You can create sequence. 

Then you can assign this sequence using automated action  on create or edit or on change of specific field. 

Avatar
Discard