trytond-account_invoice_fac.../__init__.py

27 lines
754 B
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 company
from . import invoice
from . import party
from . import payment_type
from . import account
def register():
Pool.register(
account.TaxTemplate,
account.Tax,
company.Company,
invoice.Invoice,
invoice.InvoiceLine,
invoice.CreditInvoiceStart,
invoice.GenerateFacturaeStart,
party.Party,
payment_type.PaymentType,
module='account_invoice_facturae', type_='model')
Pool.register(
invoice.CreditInvoice,
invoice.GenerateFacturae,
module='account_invoice_facturae', type_='wizard')