and preparation for the edi module This module now depends on l10n_latam_base for the identification types and l10n_latam_invoice_document for the invoice numbering. It has its own implementation where you can choose yourself the sequences you want to add on a journal in a many2many. By default, you will have the sequences for the document types of the first journal. But you can share them on other journals or create new sequences for a journal.
11 lines
316 B
Python
11 lines
316 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo import _, api, fields, models
|
|
|
|
|
|
class ResCurrency(models.Model):
|
|
_name = "res.currency"
|
|
_inherit = "res.currency"
|
|
|
|
l10n_cl_currency_code = fields.Char('Currency Code')
|
|
l10n_cl_short_name = fields.Char('Short Name')
|