2014-12-02 12:56:01 +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.
|
2013-02-26 20:50:05 +01:00
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:44 +01:00
|
|
|
|
|
|
|
|
from . import product, purchase, sale, stock
|
2013-02-26 20:50:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
sale.Sale,
|
|
|
|
|
sale.Line,
|
|
|
|
|
purchase.Request,
|
|
|
|
|
purchase.Purchase,
|
|
|
|
|
stock.ShipmentIn,
|
|
|
|
|
product.Template,
|
|
|
|
|
product.Product,
|
2013-02-26 20:50:05 +01:00
|
|
|
module='sale_supply', type_='model')
|
2015-11-17 17:32:14 -03:00
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
purchase.HandlePurchaseCancellationException,
|
2015-11-17 17:32:14 -03:00
|
|
|
module='sale_supply', type_='wizard')
|
2022-12-29 13:05:20 +01:00
|
|
|
Pool.register(
|
|
|
|
|
stock.OrderPoint,
|
|
|
|
|
module='sale_supply', type_='model', depends=['stock_supply'])
|