trytond-account_invoice_fac.../__init__.py

28 lines
856 B
Python
Raw Normal View History

2016-09-16 13:08:52 +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 account, invoice, party, company, payment_type
from .invoice import FACTURAE_SCHEMA_VERSION
__all__ = [FACTURAE_SCHEMA_VERSION]
2016-09-16 13:08:52 +02:00
def register():
Pool.register(
account.Configuration,
account.ConfigurationFacturae,
account.TaxTemplate,
account.Tax,
2016-09-16 13:08:52 +02:00
invoice.Invoice,
invoice.InvoiceLine,
invoice.CreditInvoiceStart,
invoice.GenerateFacturaeStart,
party.Address,
2016-09-16 13:08:52 +02:00
payment_type.PaymentType,
company.Company,
2016-09-16 13:08:52 +02:00
module='account_invoice_facturae', type_='model')
Pool.register(
invoice.CreditInvoice,
invoice.GenerateFacturae,
2016-09-16 13:08:52 +02:00
module='account_invoice_facturae', type_='wizard')