Files
tryton/__init__.py
T
2019-03-24 18:00:01 +01:00

27 lines
779 B
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 . import sale
from . import account
from . import stock
def register():
Pool.register(
sale.AdvancePaymentTerm,
sale.AdvancePaymentTermLine,
sale.AdvancePaymentTermLineAccount,
sale.AdvancePaymentCondition,
sale.Sale,
sale.SaleLine,
account.AccountTypeTemplate,
account.AccountType,
account.Invoice,
account.InvoiceLine,
stock.ShipmentOut,
module='sale_advance_payment', type_='model')
Pool.register(
sale.HandleInvoiceException,
module='sale_advance_payment', type_='wizard')