Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hey, I am importing some data in odoo let say Products, Now while importing I am getting multiple select options for that filed and among them two are Database ID and External ID,

Can anyone please clear this difference, which one to choose when and why and their major differences so that it will be understandable.

Thankyou in advance and looking to get a best answer.

Awatar
Odrzuć
Najlepsza odpowiedź

The field ID is set by Odoo and is an integer.  As far as I know you can't set it.  This is also how database tables are linked.

The External ID can be set during import, and is designed for linking to an external system (e.g. you import your data from SAP Business One).  Or you assign your own sequence.

If you don't set an External ID, Odoo will assign one when you first export the data, and it contains a random set of numbers and letters such as __export__.product_template_24_d30bc908

When exporting and importing you must use the External ID (and cannot change it)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 24
1400
0
paź 22
796
3
maj 25
4769
3
sie 24
5417
0
maj 24
1226