Files
odoo_source/addons/l10n_ec/models/account_tax_group.py
T
4c4493c3a1 [IMP] l10n_ec: update and upgrade
Overhaul of l10n_ec, developped in collaboration with the 3Cloud team

[Data improvements]
- Adds missing tax groups
- Adds VAT 8%, used for tourism operations on special hollidays
- Fixes base percentage on Withhold VAT taxes
- Corrects tax name from Iva to IVA
- Improves SRI paymment options, with sequence widget and inactavtes
deprecated payment options.
- Fixes short code of document types
- Corrects document type name for insurance
- Adds withhold document type, to be implemented in separated module
- Removes unused fiscal positions
- Removes unnecessary journals
- Desactivates unused payment methods
- Provides updated and improved translations

[Functional improvements]
- Automatic setup of several journals when creating new companies
- Adds restrictions to ensure proper setup of ecuadorian journals
- Improves ecuadorian journal form

closes odoo/odoo#113302

Task: 3011311
See: odoo/enterprise#33977
See: odoo/upgrade#4098
X-original-commit: c9568fbb7544ededb37f57892f930d198083c06f
Related: odoo/enterprise#37359
Signed-off-by: Josse Colpaert <jco@odoo.com>
Co-authored-by: Andres Calle <andres.calle@trescloud.com>
Co-authored-by: Josse Colpaert <jco@odoo.com>
Co-authored-by: Juan Daniel Álvarez <juan.alvarez@trescloud.com>
Co-authored-by: Steven Luna <steven.luna@trescloud.com>
2023-03-31 15:52:18 +02:00

30 lines
924 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
_TYPE_EC = [
("vat08", "VAT 8%"),
("vat12", "VAT 12%"),
("vat14", "VAT 14%"),
("zero_vat", "VAT 0%"),
("not_charged_vat", "VAT Not Charged"),
("exempt_vat", "VAT Exempt"),
("ice", "Special Consumptions Tax (ICE)"),
("irbpnr", "Plastic Bottles (IRBPNR)"),
("withhold_vat_sale", "VAT Withhold on Sales"),
("withhold_vat_purchase", "VAT Withhold on Purchases"),
("withhold_income_sale", "Profit Withhold on Sales"),
("withhold_income_purchase", "Profit Withhold on Purchases"),
("outflows_tax", "Exchange Outflows"),
("other", "Others"),
]
class AccountTaxGroup(models.Model):
_inherit = "account.tax.group"
l10n_ec_type = fields.Selection(
_TYPE_EC, string="Type Ecuadorian Tax", help="Ecuadorian taxes subtype"
)