OdooWiki OCA HUB

Romania - City

l10n_ro_city folder_open OCA/l10n-romania open_in_new
Localization License: AGPL-3

This module adds to the database the nomenclature of localities from Romania

auto_awesome What this module does

AI-generated from the code · Odoo 20.0

Adds the official Romanian locality list (SIRUTA) to Odoo, so contacts can be linked to a real city instead of free text, and the county and city are filled in automatically from the Romanian zip code.

This module loads the official Romanian locality nomenclature into Odoo's city list, so users pick a real city instead of typing it by hand.

  • Each city record carries two extra Romanian fields: the SIRUTA code and the municipality it belongs to. These columns are shown in the city list view.
  • Each Romanian county (state) gets a zip-code prefix, and the module forces Odoo to require a city from the list for Romania.
  • On a contact, a new City field is available, limited to cities of the selected county. Changing the county clears a city that no longer matches.
  • When a Romanian zip code is entered, Odoo pads a 4-digit code to 5 digits, finds the county from the zip prefix and fills it in. If the county already set does not match the zip code, an error message blocks the entry.
  • For Bucharest sector zip codes (starting with 01 to 06), the matching sector city is set, and an error is raised if the county is not Bucharest.
  • Otherwise Odoo looks for the city with that exact zip code in the chosen county and fills in the city name and county.
  • City names are displayed with the county code, and with the municipality when it differs from the name.

It touches cities, counties and contacts (res.city, res.country.state, res.partner).

Depends on

base_address_extendedl10n_ro_config

Required by other modules

Models and fields (3)
  • res.city · new modelzipcode, l10n_ro_siruta (Romania - Siruta), l10n_ro_municipality (Romania - Municipality)
  • res.partner · new modelcity_id
  • res.country.state · extends an existing modell10n_ro_prefix_zip (Romania - Prefix Zip)

Text generated by AI (DeepSeek) from reading the Odoo 20.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 20.0

Confirmed on 2026-11-03 in branch 20.0 of OCA/l10n-romania.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.