Skip to Content
Odoo model

res.country.state

Country state. Defined in module base; exists in Odoo 16, 17, 18, 19, 20. Across the upgrade steps we tracked: 1 fields added, 0 removed, 0 renamed.

Represents a sub-division of a country, such as a state, province, or region.

  1. Odoo 16 base
  2. Odoo 17 base
  3. Odoo 18 base
  4. Odoo 19 base
  5. Odoo 20 base

Odoo 16 to 17

Community only All changes in this step

No change to this model's own fields in this step.

Odoo 17 to 18

Community only All changes in this step

Now also inherits pos.load.mixin (fields from these parents are listed on their own pages).

Odoo 18 to 19

Community + Enterprise All changes in this step

No change to this model's own fields in this step.

Odoo 19 to 20

Community + Enterprise All changes in this step

Fields added (1)

FieldTypeModule
l10n_in_tds_numeric_codeintegerl10n_in_hr_payroll

All fields declared on res.country.state (6)

Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.

present not present not covered (Enterprise, Odoo 16 and 17)

Show all 6 fields
FieldTypeLabelModule1617181920
codecharState Codebase
country_idmany2one res.countryCountrybase
l10n_co_edi_codeintegerEDI State Codel10n_co_ediE
l10n_in_tds_numeric_codeintegerTDS Numeric State Codel10n_in_hr_payrollE
l10n_in_tincharTIN Numberl10n_in
namecharState Namebase

Related models

Inherits: pos.load.mixin

Linked by its relational fields: res.country

Coverage. Odoo 16 to 17 and 17 to 18 compare Community modules only (the Enterprise 16 and 17 sources are not available to us). Odoo 18 to 19 and 19 to 20 include Community and Enterprise modules. Everything here comes from a static read of the Odoo source code: a field counts as removed only when no parent model, mixin or delegated model still provides it. Fields created dynamically at run time can be missed, and entries we could not confirm are marked as low confidence.