2017-06-16 09:32:47 +02:00
|
|
|
# The COPYRIGHT file at the top level of this repository contains the full
|
|
|
|
# copyright notices and license terms.
|
|
|
|
from trytond.pool import Pool
|
2020-11-16 10:18:00 +01:00
|
|
|
from . import cron
|
2017-06-16 09:32:47 +02:00
|
|
|
from . import invoice
|
|
|
|
from . import aeat
|
|
|
|
from . import party
|
|
|
|
from . import account
|
2017-06-13 12:57:41 +02:00
|
|
|
from . import aeat_mapping
|
2019-07-11 17:16:20 +02:00
|
|
|
from . import sale
|
2019-07-16 14:24:31 +02:00
|
|
|
from . import purchase
|
2023-03-29 11:19:47 +02:00
|
|
|
from . import contract
|
2017-06-16 09:32:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2020-11-16 10:18:00 +01:00
|
|
|
account.Configuration,
|
2023-06-19 16:29:23 +02:00
|
|
|
account.ConfigurationDefaultSII,
|
2017-06-16 09:32:47 +02:00
|
|
|
account.TemplateTax,
|
|
|
|
account.Tax,
|
2020-11-16 10:18:00 +01:00
|
|
|
cron.Cron,
|
2017-06-16 09:32:47 +02:00
|
|
|
party.Party,
|
2019-03-25 11:06:07 +01:00
|
|
|
party.PartyIdentifier,
|
2017-06-16 09:32:47 +02:00
|
|
|
invoice.Invoice,
|
2020-03-18 08:08:01 +01:00
|
|
|
invoice.ResetSIIKeysStart,
|
|
|
|
invoice.ResetSIIKeysEnd,
|
2019-03-25 17:17:13 +01:00
|
|
|
aeat.CreateSiiIssuedPendingView,
|
|
|
|
aeat.CreateSiiReceivedPendingView,
|
2017-06-16 09:32:47 +02:00
|
|
|
aeat.SIIReport,
|
|
|
|
aeat.SIIReportLine,
|
2017-06-13 16:57:59 +02:00
|
|
|
aeat.SIIReportLineTax,
|
2021-01-04 22:35:37 +01:00
|
|
|
aeat_mapping.IssuedInvoiceMapper,
|
|
|
|
aeat_mapping.RecievedInvoiceMapper,
|
2019-07-16 15:19:11 +02:00
|
|
|
module='aeat_sii', type_='model')
|
2023-03-29 11:19:47 +02:00
|
|
|
Pool.register(
|
|
|
|
contract.ContractConsumption,
|
|
|
|
depends=['contract'],
|
|
|
|
module='aeat_sii', type_='model')
|
2019-07-16 15:19:11 +02:00
|
|
|
Pool.register(
|
2019-07-11 17:16:20 +02:00
|
|
|
sale.Sale,
|
2019-07-16 15:19:11 +02:00
|
|
|
depends=['sale'],
|
2017-06-16 09:32:47 +02:00
|
|
|
module='aeat_sii', type_='model')
|
2018-08-24 18:08:53 +02:00
|
|
|
Pool.register(
|
2019-07-16 14:24:31 +02:00
|
|
|
purchase.Purchase,
|
2018-08-24 18:08:53 +02:00
|
|
|
depends=['purchase'],
|
|
|
|
module='aeat_sii', type_='model')
|
2017-06-16 09:32:47 +02:00
|
|
|
Pool.register(
|
2020-03-18 08:08:01 +01:00
|
|
|
invoice.ResetSIIKeys,
|
2019-03-25 17:17:13 +01:00
|
|
|
aeat.CreateSiiIssuedPending,
|
|
|
|
aeat.CreateSiiReceivedPending,
|
2017-06-16 09:32:47 +02:00
|
|
|
module='aeat_sii', type_='wizard')
|