OdooWiki OCA HUB

Switzerland Country States

l10n_ch_states folder_open OCA/l10n-switzerland open_in_new
Localisation License: AGPL-3

This module extends res.country.states for Switzerland. It brings states with code and name for those who only want the states without cities.

For those who also want cities, please install Switzerland - Postal codes (ZIP) list (l10n_ch_zip).

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Adds the Swiss cantons (states) with their official codes to Odoo, so you can select a canton on any address, contact or document that uses a country/state field.

This module loads the list of Swiss cantons into Odoo's standard state/country reference data. Once installed, when the country on an address is Switzerland, you can pick the canton from the state field instead of typing it by hand.

The data covers the 26 cantons, each with its short code and a name, for example AG / Argovia, BE / Bern, GE / Geneva, ZH / Zurich, TI / Ticino, VD / Vaud, VS / Valais. The records are created once and are not overwritten by later updates, so any manual correction you make is kept.

The module also makes the state name translatable, so the canton name can be displayed in several languages.

Where it appears: the cantons become available anywhere Odoo uses the standard state field, such as contacts and partner addresses, and on documents that carry an address (for example sales, purchases or invoices). There is no dedicated menu, screen or report added by this module.

It only provides the canton list; it does not add postal codes or cities. If you also need Swiss ZIP codes and city names, a separate module is required. No automatic checks, calculations, emails or scheduled jobs are added.

Depends on

base

Required by other modules

Models and fields (1)
  • res.country.state · extends an existing modelname

Text generated by AI (DeepSeek) from reading the Odoo 15.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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/l10n-switzerland.

terminal Installation and usage

OCA documentation · Odoo 15.0

In order to use this module you just in to install it. It will add Switzerland country states to your database

No verified information in OCA: Installation, 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.