1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_mx_edi/models/res_currency.py
2024-12-10 09:04:09 +07:00

14 lines
434 B
Python

# coding: utf-8
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResCurrency(models.Model):
_inherit = 'res.currency'
l10n_mx_edi_decimal_places = fields.Integer(
'Number of decimals', readonly=True,
help='Number of decimals to be supported for this currency, according '
'to the SAT. It will be used in the CFDI to format amounts.')