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.
12 lines
416 B
Python
12 lines
416 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountFiscalPositionTemplate(models.Model):
|
|
|
|
_inherit = 'account.fiscal.position.template'
|
|
|
|
l10n_ar_afip_responsibility_type_ids = fields.Many2many(
|
|
'l10n_ar.afip.responsibility.type', 'l10n_ar_afip_reponsibility_type_fiscal_pos_temp_rel',
|
|
string='AFIP Responsibility Types')
|