Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. CRM
  3. Zip Code and City Autocomplete - Postal Code Database for 120 Countries (GeoNames) v 19.0
  4. Sales Conditions FAQ

Zip Code and City Autocomplete - Postal Code Database for 120 Countries (GeoNames)

by Modvanta https://modvantaapps.tech/odoo-apps/geodata/
Odoo

$ 2.99

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Type a zip code, get the city, the state and the country: postal code database of about 120 countries for Odoo 19 contacts, the customer portal and the checkout.
Zip code autocomplete | Auto fill city and state | Postal code database | GeoNames | City autocomplete | Portal and checkout | Odoo 19
Buy Now - $3Ask a Question
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Typing addresses by hand gives misspelled cities, zip codes that do not belong to the city and states left empty. This module imports the free GeoNames postal code files into the Odoo city table and uses them everywhere an address is typed: on the contact form, in My Account and My Addresses of the customer portal and at the eCommerce checkout. Type the zip code and the city, the state and the country are filled in; when several places share the zip code, pick the right one from a short list.
Postal code database of about 120 countries downloaded from GeoNames in one click (Germany: 23,296 postal codes in one import on our bench), or uploaded as a file for servers without internet access.
Full postal codes for Canada, the United Kingdom and the Netherlands (the complete codes, not only the first part).
States matched automatically to the Odoo states of the country, at the right level (provinces for Italy and Spain); missing states created for countries that have none.
County, district, latitude and longitude stored with every postal code; coordinates copied to the contact for Partner Geolocation.
Contact form autofill from the zip code, plus a Find by ZIP or City field that searches by zip code or place name.
Postal code check on the contact: a warning when the city or the state does not belong to the zip code, or a hard refusal if you switch on strict validation.
Customer portal and checkout autofill with a city picker when the zip code has several places.
Monthly refresh, removal of obsolete postal codes (kept when a contact still uses them), import log with counts.
Mass action Complete Address from Zip Code for contacts already in the database.
Who it is for
Sales and accounting teams
Clean customer and vendor addresses for invoices, deliveries and reports.
eCommerce shops
Fewer checkout errors: the customer types the zip code and picks the city.
Any country
One module for about 120 countries instead of one dataset module per country.
Screens
Import the postal codes of your countries
Download from GeoNames or upload a file; create missing states, remove obsolete postal codes, enforce cities and refresh every month.
Every import is logged
Lines read, postal codes created, updated, unchanged and removed, states created and the state level used.
The postal code database
Zip code, place, state, county, district and coordinates, searchable by zip code prefix.
Type the zip code, the address fills itself
Zip code 82467 gives Garmisch-Partenkirchen in Bayern (DE).
Find by ZIP or City
Search the places by zip code or by name and pick one: zip, city, state and country are set.
Postal code check on the contact
The contact says Remich, but zip code L-1137 belongs to Howald.
Customer portal: pick the city
Two places share zip code L-4970: the customer picks one.
City and state filled on the portal
The same autofill runs on My Account, My Addresses and the eCommerce checkout address form.
Settings
GeoNames URL, portal autofill, strict validation and coordinates.
How it works
1
Import
Contacts > Configuration > Localization > Import Postal Codes: choose the countries and click Import.
2
Check the states
The log shows how the states were matched; change the State Level on the country if needed.
3
Type addresses
On contacts, the portal and the checkout, the zip code fills the city and the state.
4
Keep it current
Tick Refresh Monthly: the scheduled action downloads the countries again every month.
Settings
GeoNames Download URLFolder holding the country files (default download.geonames.org/export/zip/)
Zip Autofill on Portal and CheckoutOn by default
Refuse Mismatched AddressesStrict validation of city and state against the zip code
Fill Coordinates from the Postal CodeCopies latitude and longitude to the contact
Country: State LevelAutomatic, first level, second level or no state
Country: Refresh Postal Codes MonthlyPer country
FAQ
Which countries are covered?
Every country GeoNames publishes a postal code file for: about 120, listed on download.geonames.org/export/zip/. A few countries publish only the first part of the codes (for example Ireland, Malta, Chile); for Canada, the United Kingdom and the Netherlands tick Full Postal Codes.
Does it need an account or an API key?
No. The GeoNames files are free under Creative Commons Attribution 4.0. The server only needs internet access to download them, or you upload the file yourself.
Does it work with the Odoo cities (Enforce Cities)?
Yes. The postal codes are stored in the standard Odoo city table, so the City field of countries with Enforce Cities lists them.
What happens to postal codes that disappear from the file?
They are removed at the next import, unless a contact still uses them; those are kept and counted in the log.
Can I add my own postal codes?
Yes, in the Postal Codes list. Postal codes added by hand are never removed by an import.
Compatibility
Odoo 19 Community and Enterprise
English; translations for German, French and Spanish
Depends on Contacts, Extended Addresses (base_address_extended), Partner Geolocation and Portal
Works with the eCommerce checkout when eCommerce is installed
Support
Questions and help: modvantaapps@gmail.com
Postal code data: GeoNames (www.geonames.org), CC BY 4.0
Clean addresses from the zip code
About 120 countries, contacts, portal and checkout.
Buy Now - $3Hire Us for Odoo Work
EMAIL
modvantaapps@gmail.com
AUTHOR
Modvanta
INCLUDED
Module and email support
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Contacts (contacts)
• Discuss (mail)
Lines of code 1005
Technical Name mdv_geodata
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/geodata/
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with