Hi, I'm trying to retrieve data from odoo using an external api. but I'm having problems when I try to get the external Id. I can't find the corresponding field. could you help me with this? thank you.
here's my code , it's just missing the external id and I don't know how to access it.
partner_rec= models.execute_kw(db, uid, password, 'res.partner', 'read', [partners], {'fields': ['display_name','phone','email','create_date','zip','activity_ids','city','country_id']})
i can't. there's no field name specific to this external id i can't access it. there's just the id but it's not the same.
Add 'id' to fields array