Jeevachaithanyan Sivanandan
Posted on February 15, 2024
If you've attempted to display the complete address of a supplier in the purchase form using the provided code:
<attribute name="widget">res_partner_many2one</attribute>
<attribute name="context">{'show_address': 1, 'show_vat': True}</attribute>
But I am sure you might be wondering why the address is not showing. In order to fix it, you better add the below line too
<attribute name="options">{"always_reload": True}</attribute>
After adding this line, don't forget to upgrade the module. Once the upgrade is complete, you should see the full address displayed correctly.
💖 💪 🙅 🚩
Jeevachaithanyan Sivanandan
Posted on February 15, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.