2017-04-02 10:37:33 +02: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.
|
|
|
|
|
|
|
|
|
|
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,
|
2019-03-24 18:00:01 +01:00
|
|
|
account.AccountTypeTemplate,
|
|
|
|
|
account.AccountType,
|
2017-04-02 10:37:33 +02:00
|
|
|
account.Invoice,
|
|
|
|
|
account.InvoiceLine,
|
|
|
|
|
stock.ShipmentOut,
|
|
|
|
|
module='sale_advance_payment', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
sale.HandleInvoiceException,
|
|
|
|
|
module='sale_advance_payment', type_='wizard')
|