21 lines
663 B
Python
21 lines
663 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 purchase
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
purchase.PurchaseRequest,
|
|
purchase.PurchaseRequisition,
|
|
purchase.PurchaseRequisitionLine,
|
|
purchase.Configuration,
|
|
purchase.ConfigurationSequence,
|
|
purchase.Purchase,
|
|
module='purchase_requisition', type_='model')
|
|
Pool.register(
|
|
purchase.HandlePurchaseCancellationException,
|
|
purchase.CreatePurchase,
|
|
module='purchase_requisition', type_='wizard')
|