Files
tryton/__init__.py
T
Cédric Krier ff0a261389 Allow to define many relativedelta on payment term
Replace the set of fields defined on payment term line by a list of
relativedelta containing the same set of fields.

issue4573
review6911002
2015-03-02 23:28:12 +01:00

45 lines
1.1 KiB
Python

# 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 .payment_term import *
from .invoice import *
from .party import *
from .account import *
def register():
Pool.register(
PaymentTerm,
PaymentTermLine,
PaymentTermLineRelativeDelta,
TestPaymentTermView,
TestPaymentTermViewResult,
Invoice,
InvoicePaymentLine,
InvoiceLine,
InvoiceLineTax,
InvoiceTax,
PrintInvoiceWarning,
PayInvoiceStart,
PayInvoiceAsk,
CreditInvoiceStart,
Address,
Party,
FiscalYear,
Period,
Move,
Reconciliation,
Configuration,
ConfigurationTaxRounding,
module='account_invoice', type_='model')
Pool.register(
TestPaymentTerm,
PrintInvoice,
PayInvoice,
CreditInvoice,
module='account_invoice', type_='wizard')
Pool.register(
InvoiceReport,
module='account_invoice', type_='report')