Hi guys
Where exactly can I modify the default behaviour that formats the address?
Currently when you create a customer and do not add a country it will print out the following structure:
But I want the ZIP code before the city.. So, where should I change the code so that the ZIP is printed in front of the city when no country is filled in?
res_partner.py seems to be responsible for the layout in the menu (https://github.com/odoo/odoo/blob/8.0/openerp/addons/base/res/res_partner.py#L61-77) but where can I modify it for all reports / everywhere at once?
Note: I do not want to configure this per country in the country list. It has to be set automaticly when a customer has no country filled in to ZIP address in place of adress ZIP.
With kind regards
Yenthe
Maybe you can try: Setting -> Companies -> Your Company -> Edit -> Report configuration?
Thanks for the suggestion Mathias. Are you talking about the RML header etc here? Sadly these fields are for V7 and no longer used in V8 since I use the QWeb reports.. So can't use this.