OdooWiki OCA HUB

Topónimos españoles

l10n_es_toponyms folder_open OCA/l10n-spain open_in_new
Localization License: AGPL-3

Provincias, municipios y códigos postales de España.

> - Añade las 52 provincias actuales de España con posibilidad de > escoger entre versión oficial, española o ambas. > - Proporciona un asistente para dar de alta los municipios y > provincias por defecto asociados a los códigos postales españoles. > - Utilizando el módulo base_location, permite rellenar automáticamente > los campos ciudad y provincia del formulario de empresa, de contacto > y de compañía a partir del código postal o el nombre de la ciudad.

Los datos se obtienen de GeoNames () directamente, o bien utilizando una copia local extraída del mismo sitio cuya última actualización es del 25/02/2015.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds Spanish provinces, cities and postal codes to Odoo and lets you fill in city and province automatically from a Spanish postal code or city name on company, contact and company forms.

This module is a Spanish localization helper. It relies on the location/GeoNames import module and adds a configuration wizard that loads Spanish toponyms (provinces, municipalities and postal codes) into Odoo.

Where it appears: - A configuration wizard screen titled "Spanish cities configuration" is registered as a to-do action, so it can be launched from the configuration steps. - The wizard shows a warning that importing all records can take a long time and, if you are behind an SSL proxy, to check the timeout. - It has an "Import data from GeoNames" button and a "Skip" button.

What it does: - The import button creates a GeoNames import run for Spain and starts it, pulling the Spanish city and state information associated with postal codes. - For Spanish records, city names are cleaned up so small words like "de", "del", "la", "las", "el" and "los" are written in lower case.

Business effect: - Once loaded, Spanish postal codes, cities and provinces are available, and the city and province fields on company, contact and company forms can be filled automatically from the postal code or the city name.

Access is limited to the Settings group. The module touches the GeoNames import wizard and adds a new configuration model.

Models and fields (2)
  • config.es.toponyms · new modelname
  • city.zip.geonames.import · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/l10n-spain.

terminal Installation and usage

OCA documentation · Odoo 19.0

Para instalar este módulo, son necesarios los módulos base_location y base_location_geonames_import, disponibles en:

Tras la instalación del módulo, aparecerá un cuadro de diálogo para iniciar la importacion de los nombres de las provincias, ciudades y codigos postales.

No verified information in OCA: Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.