Skip to Content
Menu
This question has been flagged
2 Replies
2034 Views

In the Netherlands, the correct adress format requires two spaces between zipcode and city. I am looking for a way to configure this.

I have tried to do  this in the country settings (contacts, settings, localization, countries, Netherlands, advanced adress format, layout in reports), but i am not sure how to add an additional space. Just typing an additional space between %(zip)s %(city)s doesn't have any effect. I also tried to put <![CDATA[&nbsp;]]> or &#nbsp; or  but such statements only lead to the literal text showing up between zipcode and city when printing an (e.g.) salesorder or invoice.

Ideas anyone ?

Avatar
Discard

In res.partner.py there is _display_address method for formatting the address

Try to override it and change the format. 

Thanks for your answer Waleed. Anything that involves editing .py files is out of my league. Nevertheless, thank you very much for answering my question.