v14-facturacionelectronica/l10n_co_base_location/models/res_country_state.py

12 lines
306 B
Python

# -*- coding: utf-8 -*-
# Copyright 2021 Joan Marín <Github@JoanMarin>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
class ResCountryState(models.Model):
_inherit = "res.country.state"
numeric_code = fields.Char(string='Numeric Code', size=2)