19 lines
623 B
Python
19 lines
623 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.Purchase,
|
||
|
|
module='purchase_requisition', type_='model')
|
||
|
|
Pool.register(
|
||
|
|
purchase.HandlePurchaseCancellationException,
|
||
|
|
purchase.CreatePurchase,
|
||
|
|
module='purchase_requisition', type_='wizard')
|