Now, it depends on l10n_latam_base for the identification types and on l10n_latam_invoice_document for the invoice numbering. It is the AFIP responsibility on the partner that determines the document type. There are also 3 demo companies for the most important responsibility types for yourself.
10 lines
263 B
Python
10 lines
263 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo import fields, models
|
|
|
|
|
|
class Uom(models.Model):
|
|
|
|
_inherit = 'uom.uom'
|
|
|
|
l10n_ar_afip_code = fields.Char('AFIP Code', help='This code will be used on electronic invoice')
|