Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1648 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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)

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 24
1406
0
ott 22
796
3
mag 25
4771
3
ago 24
5420
0
mag 24
1226