partner-contact/base_location_nuts/models/res_country.py

12 lines
372 B
Python
Raw Permalink Normal View History

2021-04-28 15:43:20 +00:00
# Copyright 2015 Antonio Espinosa <antonio.espinosa@tecnativa.com>
# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from flectra import fields, models
class ResCountry(models.Model):
_inherit = "res.country"
state_level = fields.Integer(help="Level for the state NUTS category.")