跳至内容
菜单
此问题已终结
2 回复
8612 查看

Actually, I have this address in a report :

Here is the code to get this address :

<h4><strong>Shipping address :</strong></h4>
<div style="margin-left: 20px;" >

<span t-field="o.picking_type_id.warehouse_id.name"/>

<div t-field="o.picking_type_id.warehouse_id.partner_id" t-field-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;phone&quot;, &quot;fax&quot;], &quot;no_marker&quot;: true}"/>

 

How could I put the zip code on a new line? How can I put new comma in address?

形象
丢弃
最佳答案

"Address Format" is set in the definition of the country. See view of country "Canada". You can change the layout of a standard.

形象
丢弃
编写者

very interesting. I will try it soon.

编写者 最佳答案

Here it is! Thanks

形象
丢弃