Files
tryton/modules/account_invoice/__init__.py
T

61 lines
1.9 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
2021-12-11 17:58:41 +01:00
from . import account, company, invoice, party, payment_term
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,
2021-08-20 23:45:02 +02:00
invoice.InvoiceAdditionalMove,
2022-09-11 17:46:09 +02:00
invoice.AlternativePayee,
2020-03-01 12:33:51 +01:00
invoice.InvoicePaymentLine,
invoice.InvoiceLine,
invoice.InvoiceLineTax,
invoice.InvoiceTax,
invoice.PayInvoiceStart,
invoice.PayInvoiceAsk,
invoice.CreditInvoiceStart,
2023-09-19 14:12:42 +02:00
invoice.InvoiceReportRevision,
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,
2021-08-20 23:45:02 +02:00
invoice.RescheduleLinesToPay,
2022-09-11 17:46:09 +02:00
invoice.DelegateLinesToPay,
2023-09-19 14:12:42 +02:00
invoice.RefreshInvoiceReport,
2020-03-01 12:33:51 +01:00
party.Replace,
party.Erase,
account.RenewFiscalYear,
2022-01-26 00:32:20 +01:00
account.RescheduleLines,
2022-09-11 17:46:09 +02:00
account.DelegateLines,
account.CancelMoves,
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')