trytond-aeat_sii/__init__.py

32 lines
862 B
Python
Raw Normal View History

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
from . import company
from . import load_pkcs12
from . import account
2017-07-07 11:29:00 +02:00
from . import aeat_mapping
2017-04-28 09:26:42 +02:00
def register():
Pool.register(
account.TemplateTax,
account.Tax,
2017-04-28 09:26:42 +02:00
party.Party,
company.Company,
2017-04-28 09:26:42 +02:00
invoice.Invoice,
2017-07-07 11:29:00 +02:00
invoice.Sale,
invoice.Purchase,
load_pkcs12.LoadPKCS12Start,
2017-04-28 09:26:42 +02:00
aeat.SIIReport,
aeat.SIIReportLine,
2017-07-07 11:29:00 +02:00
aeat.SIIReportLineTax,
aeat_mapping.IssuedTrytonInvoiceMapper,
aeat_mapping.RecievedTrytonInvoiceMapper,
2017-04-28 09:26:42 +02:00
module='aeat_sii', type_='model')
Pool.register(
load_pkcs12.LoadPKCS12,
2017-04-28 09:26:42 +02:00
module='aeat_sii', type_='wizard')