Files
tryton/__init__.py
T

54 lines
1.7 KiB
Python
Raw Normal View History

2014-12-02 12:54:39 +01:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
2012-09-24 22:17:32 +02:00
from trytond.pool import Pool
2020-03-01 12:33:51 +01:00
from . import payment_term
from . import invoice
from . import party
2020-03-01 12:33:51 +01:00
from . import account
2019-07-22 23:52:26 +02:00
from . import company
2012-09-24 22:17:32 +02:00
def register():
Pool.register(
2020-03-01 12:33:51 +01:00
payment_term.PaymentTerm,
payment_term.PaymentTermLine,
payment_term.PaymentTermLineRelativeDelta,
payment_term.TestPaymentTermView,
payment_term.TestPaymentTermViewResult,
invoice.Invoice,
invoice.InvoicePaymentLine,
invoice.InvoiceLine,
invoice.InvoiceLineTax,
invoice.InvoiceTax,
invoice.PayInvoiceStart,
invoice.PayInvoiceAsk,
invoice.CreditInvoiceStart,
party.Address,
party.ContactMechanism,
party.Party,
party.PartyPaymentTerm,
account.Configuration,
account.ConfigurationDefaultPaymentTerm,
2020-03-01 12:33:51 +01:00
account.InvoiceSequence,
2017-03-30 09:45:15 +02:00
# Match pattern migration fallbacks to Fiscalyear values so Period
# must be registered before Fiscalyear
2020-03-01 12:33:51 +01:00
account.Period,
account.FiscalYear,
account.Move,
account.MoveLine,
account.Reconciliation,
invoice.PaymentMethod,
2019-07-22 23:52:26 +02:00
company.Company,
2012-09-24 22:17:32 +02:00
module='account_invoice', type_='model')
Pool.register(
2020-03-01 12:33:51 +01:00
payment_term.TestPaymentTerm,
invoice.PayInvoice,
invoice.CreditInvoice,
party.Replace,
party.Erase,
account.RenewFiscalYear,
2012-09-24 22:17:32 +02:00
module='account_invoice', type_='wizard')
Pool.register(
2020-03-01 12:33:51 +01:00
invoice.InvoiceReport,
2012-09-24 22:17:32 +02:00
module='account_invoice', type_='report')