2016-03-25 17:01:00 +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.
|
|
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
|
|
|
|
from .purchase_request import *
|
|
|
|
|
from .purchase import *
|
2016-10-02 15:21:11 +02:00
|
|
|
from .party import PartyReplace
|
2016-03-25 17:01:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
PurchaseRequest,
|
|
|
|
|
HandlePurchaseCancellationExceptionStart,
|
|
|
|
|
CreatePurchaseAskParty,
|
|
|
|
|
Purchase,
|
2016-12-27 17:50:05 +01:00
|
|
|
PurchaseLine,
|
2016-03-25 17:01:00 +01:00
|
|
|
module='purchase_request', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
CreatePurchase,
|
|
|
|
|
HandlePurchaseCancellationException,
|
2016-10-02 15:21:11 +02:00
|
|
|
PartyReplace,
|
2016-03-25 17:01:00 +01:00
|
|
|
module='purchase_request', type_='wizard')
|