OdooWiki OCA HUB

Iran - Country States

l10n_ir_states folder_open OCA/l10n-iran open_in_new
Localization/Iran License: AGPL-3

Add Iran States and Cities

auto_awesome What this module does

AI-generated from the code · Odoo 20.0

Adds Iran's provinces and cities to Odoo, and makes the province and city mandatory when entering an Iranian address.

This module loads the official list of Iranian provinces (states) and their cities into Odoo, so users can pick them from drop-down lists instead of typing them by hand.

  • It fills the country's state list with all Iranian provinces, each with a numeric code.
  • It fills the city list with the cities belonging to each province.
  • For the country Iran, it turns on the requirement that a state/province must be given on an address, and it enables the city field for that country.

Where it appears: the data is used anywhere an address is entered or shown, such as contacts, companies, customers, vendors, delivery and invoice addresses. The province and city fields become selectable lists for Iranian addresses.

Business rule added: when the country of an address is Iran, Odoo will require the province to be filled in, and the city field is available for selection. No other automation, emails, or scheduled jobs are added by this module.

It touches the country, state and city reference data used by the address features of Odoo.

Depends on

basebase_address_extended

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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-iran.

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.