Initial import from Docker volume
This commit is contained in:
60
modules/account_invoice/__init__.py
Executable file
60
modules/account_invoice/__init__.py
Executable file
@@ -0,0 +1,60 @@
|
||||
# This file is part of Tryton. 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, company, invoice, party, payment_term
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
payment_term.PaymentTerm,
|
||||
payment_term.PaymentTermLine,
|
||||
payment_term.PaymentTermLineRelativeDelta,
|
||||
payment_term.TestPaymentTermView,
|
||||
payment_term.TestPaymentTermViewResult,
|
||||
invoice.Invoice,
|
||||
invoice.InvoiceAdditionalMove,
|
||||
invoice.AlternativePayee,
|
||||
invoice.InvoicePaymentLine,
|
||||
invoice.InvoiceLine,
|
||||
invoice.InvoiceLineTax,
|
||||
invoice.InvoiceTax,
|
||||
invoice.PayInvoiceStart,
|
||||
invoice.PayInvoiceAsk,
|
||||
invoice.CreditInvoiceStart,
|
||||
invoice.InvoiceReportRevision,
|
||||
party.Address,
|
||||
party.ContactMechanism,
|
||||
party.Party,
|
||||
party.PartyPaymentTerm,
|
||||
account.Configuration,
|
||||
account.ConfigurationDefaultPaymentTerm,
|
||||
account.InvoiceSequence,
|
||||
# Match pattern migration fallbacks to Fiscalyear values so Period
|
||||
# must be registered before Fiscalyear
|
||||
account.Period,
|
||||
account.FiscalYear,
|
||||
account.Move,
|
||||
account.MoveLine,
|
||||
account.Reconciliation,
|
||||
invoice.PaymentMethod,
|
||||
company.Company,
|
||||
module='account_invoice', type_='model')
|
||||
Pool.register(
|
||||
payment_term.TestPaymentTerm,
|
||||
invoice.PayInvoice,
|
||||
invoice.CreditInvoice,
|
||||
invoice.RescheduleLinesToPay,
|
||||
invoice.DelegateLinesToPay,
|
||||
invoice.RefreshInvoiceReport,
|
||||
party.Replace,
|
||||
party.Erase,
|
||||
account.RenewFiscalYear,
|
||||
account.RescheduleLines,
|
||||
account.DelegateLines,
|
||||
account.CancelMoves,
|
||||
module='account_invoice', type_='wizard')
|
||||
Pool.register(
|
||||
invoice.InvoiceReport,
|
||||
module='account_invoice', type_='report')
|
||||
Reference in New Issue
Block a user