Files
enterprise-addons/l10n_mx_edi/models/res_country.py
T

14 lines
421 B
Python

# coding: utf-8
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResCountry(models.Model):
_inherit = 'res.country'
l10n_mx_edi_code = fields.Char(
'Code MX', help='Country code defined by the SAT in the catalog to '
'CFDI version 4.0 and new complements. Will be used in the CFDI '
'to indicate the country reference.')