Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I believe I read somewhere that it should be possible to customize the postal address format, without making a new invoice layout.
Here in Norway we use the <postalcode> <city> format, like 1234 Cityname. Is it possible to configure this in OpenERP?
In V7, go to sale -> configuration -> address book -> localization -> country (make sure you have technical data right on your user account to see this menu).
Then choose your Country and setup address_format field.
%(street)s %(street2)s %(zip)s %(city)s %(country_name)s
There is a function fields_view_get_address for the format_address class in openerp/addons/base/res/res_parnter.py that inherit form view to change layout of address. Think it could be what you want to achieve.
I tried this too, like answered above. But it changes also the way the fields are displayed. If I use the example above as format, my fields at the form are displayed as:
Instead of the wanted:
[ZIP ][City ]
How to change this? (Without editing the xml view manually).
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/4/13, 6:32 PM|
|Seen: 7105 times|
|Last updated: 10/27/16, 10:47 PM|