summaryrefslogtreecommitdiff
path: root/addons/l10n_ar/models/account_tax_group.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/l10n_ar/models/account_tax_group.py
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/l10n_ar/models/account_tax_group.py')
-rw-r--r--addons/l10n_ar/models/account_tax_group.py32
1 files changed, 32 insertions, 0 deletions
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)