48 lines
1.3 KiB
Python
48 lines
1.3 KiB
Python
# 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
|
|
from . import company
|
|
from . import load_pkcs12
|
|
from . import account
|
|
from . import aeat_mapping
|
|
from . import sale
|
|
from . import purchase
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
account.TemplateTax,
|
|
account.Tax,
|
|
party.Party,
|
|
party.PartyIdentifier,
|
|
company.Company,
|
|
invoice.Invoice,
|
|
invoice.ResetSIIKeysStart,
|
|
invoice.ResetSIIKeysEnd,
|
|
load_pkcs12.LoadPKCS12Start,
|
|
aeat.CreateSiiIssuedPendingView,
|
|
aeat.CreateSiiReceivedPendingView,
|
|
aeat.SIIReport,
|
|
aeat.SIIReportLine,
|
|
aeat.SIIReportLineTax,
|
|
aeat_mapping.IssuedTrytonInvoiceMapper,
|
|
aeat_mapping.RecievedTrytonInvoiceMapper,
|
|
module='aeat_sii', type_='model')
|
|
Pool.register(
|
|
sale.Sale,
|
|
depends=['sale'],
|
|
module='aeat_sii', type_='model')
|
|
Pool.register(
|
|
purchase.Purchase,
|
|
depends=['purchase'],
|
|
module='aeat_sii', type_='model')
|
|
Pool.register(
|
|
invoice.ResetSIIKeys,
|
|
aeat.CreateSiiIssuedPending,
|
|
aeat.CreateSiiReceivedPending,
|
|
load_pkcs12.LoadPKCS12,
|
|
module='aeat_sii', type_='wizard')
|