跳至內容
選單
此問題已被標幟
2962 瀏覽次數


Hi,


I'm creating a custom app that substitutes respartner.city and respartner.state_id for respartner.city_id_brasil and respartner.state_id_brasil and populates those fields with data on brazilian cities and states.


The fields are working fine, but since I have not added them to 'show_address', they obviously don't show up when I use:

 <attribute name="context">{'show_address':1}</attribute>

Is it possible to add my custom fields to 'show_address'? How do I do that?

Or is it better to create a new context like 'show_address_brasil'? How?


Bonus question: (just to satisfy my curiosity) Sometimes when I'm searching this forum for older questions I see people writting variables and code in pink color, like in this image:  . Is the option of writting in pink still avaliable? How do I activate it? <code>does this work?</code>




頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
6月 20
4682
1
1月 25
1364
2
9月 23
3751
1
12月 22
2099
3
11月 22
4282