Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Question about address field in Odoo9

by
Elico Corp, Eric Caudal
- 04/05/2016 10:45:17
You need to go to sales/configuration/address Book/Localization/Countries and modify the one related to the country in use in the system (en_US or Switzerland depending on your configuration)
--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 05/04/2016 04:38 PM, Gerhard Hug wrote:
<blockquote cite="mid:0E50119A-CCEB-4B5B-9F26-A6C73A300AE7@atelierhug.ch" type="cite">
Hello all

I am looking for an advice for the following problem in Odoo9:
In switzerland the adress normally looks like this:
first line name, second line street and number, third line zip and name of the town, forth line country.
In odoo by default on the third line of the adress field the position of the zip is after the name of the town.
So i tried to change this and could easily do this in some views with QWeb but not in all of them.
But the problem is that i could’t find out how to change it in other views and in the header address of the reports, the invoices, pdf prints  and on the contact page of the website.
In this cases tho whole address field must be built by a template or module somewhere in the background (file system?). In QWeb by t-address, show address.
Where can i find this template to change the order of zip and town?

Many thanks for a helpful answer.
Best regards
Gerhard Hug

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


Reference