2016-10-31 15:30:26 +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
|
2021-12-11 17:58:43 +01:00
|
|
|
|
2023-09-24 13:56:20 +02:00
|
|
|
from . import ir, purchase
|
2016-10-31 15:30:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2023-09-24 13:56:20 +02:00
|
|
|
ir.Rule,
|
2016-10-31 15:30:26 +01:00
|
|
|
purchase.PurchaseRequest,
|
|
|
|
|
purchase.PurchaseRequisition,
|
|
|
|
|
purchase.PurchaseRequisitionLine,
|
|
|
|
|
purchase.Configuration,
|
2017-04-01 00:33:54 +02:00
|
|
|
purchase.ConfigurationSequence,
|
2016-10-31 15:30:26 +01:00
|
|
|
purchase.Purchase,
|
|
|
|
|
module='purchase_requisition', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
purchase.HandlePurchaseCancellationException,
|
|
|
|
|
purchase.CreatePurchase,
|
|
|
|
|
module='purchase_requisition', type_='wizard')
|