Access other address country code in Odoo

Viewed 24

i need to access country code (country_id) from other address on contact form as marked in screenshot. There is possibility to add more than one 'other' address I guess this is gonna be some kind of list, I need to list all those states.

Country on 'other' address - I need to take this code What I get from the XML

This is the code I tried to get the country_id on res_partner

<field name="child_ids" domain="[('active','=',True)]" context="{'default_country_id':1}" string="CHILD ID"/>

How can I get that information and show it on a field?

0 Answers
Related