partner-contact/base_country_state_translatable/models/res_country.py

11 lines
241 B
Python
Raw Permalink Normal View History

2024-10-01 05:51:46 +00:00
# Copyright 2017 initOS GmbH
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from flectra import fields, models
class CountryState(models.Model):
_inherit = "res.country.state"
name = fields.Char(translate=True)