Files
tryton/__init__.py
T

37 lines
1.2 KiB
Python
Raw Normal View History

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
from . import account
2019-04-14 14:21:07 +02:00
from . import party
2018-09-01 14:55:15 +02:00
from . import reporting_tax
from . import account_payment
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,
party.Party,
party.Identifier,
2019-04-14 14:21:07 +02:00
reporting_tax.ESVATList,
reporting_tax.ESVATListContext,
reporting_tax.ECOperationList,
reporting_tax.ECOperationListContext,
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,
2018-09-01 14:55:15 +02:00
module='account_es', type_='report')
Pool.register(
reporting_tax.PrintAEAT,
module='account_es', type_='wizard')
Pool.register(
account_payment.Journal,
account_payment.Group,
module='account_es', type_='model', depends=['account_payment_sepa'])