2017-04-28 09:26:42 +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
|
|
|
|
from . import invoice
|
|
|
|
from . import aeat
|
|
|
|
from . import party
|
2017-05-17 12:34:08 +02:00
|
|
|
from . import company
|
2017-05-17 16:07:25 +02:00
|
|
|
from . import load_pkcs12
|
2017-06-07 11:00:10 +02:00
|
|
|
from . import account
|
2017-06-13 12:57:41 +02:00
|
|
|
from . import aeat_mapping
|
2017-05-17 12:34:08 +02:00
|
|
|
|
2017-04-28 09:26:42 +02:00
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2017-06-07 11:00:10 +02:00
|
|
|
account.TemplateTax,
|
|
|
|
account.Tax,
|
2017-04-28 09:26:42 +02:00
|
|
|
party.Party,
|
2017-05-17 12:34:08 +02:00
|
|
|
company.Company,
|
2017-04-28 09:26:42 +02:00
|
|
|
invoice.Invoice,
|
2017-05-17 16:07:25 +02:00
|
|
|
load_pkcs12.LoadPKCS12Start,
|
2017-04-28 09:26:42 +02:00
|
|
|
aeat.SIIReport,
|
|
|
|
aeat.SIIReportLine,
|
2017-06-13 16:57:59 +02:00
|
|
|
aeat.SIIReportLineTax,
|
2017-06-13 12:57:41 +02:00
|
|
|
aeat_mapping.IssuedTrytonInvoiceMapper,
|
|
|
|
aeat_mapping.RecievedTrytonInvoiceMapper,
|
2017-04-28 09:26:42 +02:00
|
|
|
module='aeat_sii', type_='model')
|
2018-08-24 18:08:53 +02:00
|
|
|
Pool.register(
|
|
|
|
invoice.Sale,
|
|
|
|
depends=['sale'],
|
|
|
|
module='aeat_sii', type_='model')
|
|
|
|
Pool.register(
|
|
|
|
invoice.Purchase,
|
|
|
|
depends=['purchase'],
|
|
|
|
module='aeat_sii', type_='model')
|
2017-04-28 09:26:42 +02:00
|
|
|
Pool.register(
|
2017-05-17 16:07:25 +02:00
|
|
|
load_pkcs12.LoadPKCS12,
|
2017-04-28 09:26:42 +02:00
|
|
|
module='aeat_sii', type_='wizard')
|