Odoo Help

0

0
1 Answer
0

Hi VDJ SAS,

Here you can do this by

  • creating new field or

  • adding context(It will display city, state, etc too)

Like 

1) By new field(Create new field in sale.order in your custom module)

related_partner_country = fields.Char("Customer Country", related="partner_id.country_id.name")

2) By adding context in view

<field name="partner_id" domain="[('customer','=',True)]" context="{'search_default_customer':1,'show_address': 1}" options="{&quot;always_reload&quot;: True}"/>

Hope this will help you...

Thanks!

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now