2017-10-02 11:51:00 +02:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
# this repository contains the full copyright notices and license terms.
|
2018-09-01 14:55:15 +02:00
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:41 +01:00
|
|
|
|
2022-04-26 17:45:04 +02:00
|
|
|
from . import account, account_payment, company, party, reporting_tax
|
2018-09-01 14:55:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
reporting_tax.PrintAEATStart,
|
|
|
|
|
account.TaxCodeTemplate,
|
|
|
|
|
account.TaxCode,
|
2019-04-14 14:21:07 +02:00
|
|
|
account.TaxTemplate,
|
|
|
|
|
account.Tax,
|
2021-04-12 09:26:14 +02:00
|
|
|
account.Invoice,
|
2022-04-26 17:45:04 +02:00
|
|
|
company.Company,
|
2019-04-14 14:21:07 +02:00
|
|
|
party.Party,
|
2020-12-06 18:19:06 +01:00
|
|
|
party.Identifier,
|
2019-04-14 14:21:07 +02:00
|
|
|
reporting_tax.ESVATList,
|
|
|
|
|
reporting_tax.ESVATListContext,
|
|
|
|
|
reporting_tax.ECOperationList,
|
|
|
|
|
reporting_tax.ECOperationListContext,
|
2021-04-12 09:26:14 +02:00
|
|
|
reporting_tax.ESVATBook,
|
|
|
|
|
reporting_tax.ESVATBookContext,
|
2018-09-01 14:55:15 +02:00
|
|
|
module='account_es', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
reporting_tax.AEAT111,
|
|
|
|
|
reporting_tax.AEAT115,
|
|
|
|
|
reporting_tax.AEAT303,
|
2019-04-14 14:21:07 +02:00
|
|
|
reporting_tax.AEAT347,
|
|
|
|
|
reporting_tax.AEAT349,
|
2021-04-12 09:26:14 +02:00
|
|
|
reporting_tax.VATBookReport,
|
2018-09-01 14:55:15 +02:00
|
|
|
module='account_es', type_='report')
|
|
|
|
|
Pool.register(
|
2021-10-03 00:42:46 +02:00
|
|
|
account.CreateChart,
|
2018-09-01 14:55:15 +02:00
|
|
|
reporting_tax.PrintAEAT,
|
|
|
|
|
module='account_es', type_='wizard')
|
2020-02-22 15:17:32 +01:00
|
|
|
Pool.register(
|
|
|
|
|
account_payment.Journal,
|
|
|
|
|
account_payment.Group,
|
|
|
|
|
module='account_es', type_='model', depends=['account_payment_sepa'])
|