2014-12-02 12:56:15 +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.
|
2012-09-24 22:18:24 +02:00
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
2011-12-14 17:04:05 +01:00
|
|
|
from .order_point import *
|
|
|
|
|
from .product import *
|
|
|
|
|
from .purchase_request import *
|
|
|
|
|
from .shipment import *
|
2015-09-14 10:23:29 +02:00
|
|
|
from .location import *
|
2015-11-17 17:30:42 -03:00
|
|
|
from .purchase import *
|
2012-09-24 22:18:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
OrderPoint,
|
|
|
|
|
Product,
|
|
|
|
|
PurchaseRequest,
|
|
|
|
|
CreatePurchaseRequestStart,
|
|
|
|
|
CreatePurchaseAskParty,
|
2015-11-17 17:30:42 -03:00
|
|
|
HandlePurchaseCancellationExceptionStart,
|
2012-09-24 22:18:24 +02:00
|
|
|
ShipmentInternal,
|
2013-06-28 12:52:39 +02:00
|
|
|
CreateShipmentInternalStart,
|
2015-09-14 10:23:29 +02:00
|
|
|
Location,
|
2015-11-17 17:30:42 -03:00
|
|
|
Purchase,
|
2012-09-24 22:18:24 +02:00
|
|
|
module='stock_supply', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
CreatePurchaseRequest,
|
|
|
|
|
CreatePurchase,
|
2013-06-28 12:52:39 +02:00
|
|
|
CreateShipmentInternal,
|
2015-11-17 17:30:42 -03:00
|
|
|
HandlePurchaseCancellationException,
|
2012-09-24 22:18:24 +02:00
|
|
|
module='stock_supply', type_='wizard')
|