跳至內容
選單
此問題已被標幟
2 回覆
7943 瀏覽次數

I would like to add a blank line between <street> and <zipcode city="">

I tried out a bit, but I was not able to find a suitable format for an empty line not to be omitted when display_adress method in reports is called.

頭像
捨棄
最佳答案

In each blank line enter at least one space, in address format, in Sales->Configuration->Partners->Localization->Countries:

頭像
捨棄
最佳答案

I got it to work by accident. Might aswell post: I inserted 4 newlines into the address format in Sales->Configuration->Partners->Localization->Countries:

%(street)s
%(street2)s



D-%(zip)s %(city)s

Less doesn't work. I guess every two lines are interpreted as linebreak resulting in one empty line.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 24
10931
1
3月 15
12380
1
7月 21
3077
2
8月 20
7982
1
2月 24
2272