From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/l10n_ar/models/account_tax_group.py | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 addons/l10n_ar/models/account_tax_group.py (limited to 'addons/l10n_ar/models/account_tax_group.py') diff --git a/addons/l10n_ar/models/account_tax_group.py b/addons/l10n_ar/models/account_tax_group.py new file mode 100644 index 00000000..f59fcc47 --- /dev/null +++ b/addons/l10n_ar/models/account_tax_group.py @@ -0,0 +1,32 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. +from odoo import fields, models, api + + +class AccountTaxGroup(models.Model): + + _inherit = 'account.tax.group' + + # values from http://www.afip.gob.ar/fe/documentos/otros_Tributos.xlsx + l10n_ar_tribute_afip_code = fields.Selection([ + ('01', '01 - National Taxes'), + ('02', '02 - Provincial Taxes'), + ('03', '03 - Municipal Taxes'), + ('04', '04 - Internal Taxes'), + ('06', '06 - VAT perception'), + ('07', '07 - IIBB perception'), + ('08', '08 - Municipal Taxes Perceptions'), + ('09', '09 - Other Perceptions'), + ('99', '99 - Others'), + ], string='Tribute AFIP Code', index=True, readonly=True) + # values from http://www.afip.gob.ar/fe/documentos/OperacionCondicionIVA.xls + l10n_ar_vat_afip_code = fields.Selection([ + ('0', 'Not Applicable'), + ('1', 'Untaxed'), + ('2', 'Exempt'), + ('3', '0%'), + ('4', '10.5%'), + ('5', '21%'), + ('6', '27%'), + ('8', '5%'), + ('9', '2,5%'), + ], string='VAT AFIP Code', index=True, readonly=True) -- cgit v1.2.3