2014-12-02 12:56:03 +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:51:27 +01:00
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:44 +01:00
|
|
|
|
2022-03-26 12:15:13 +01:00
|
|
|
from . import party, product, purchase, sale, stock
|
2013-02-26 20:51:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2018-06-26 19:11:55 +02:00
|
|
|
stock.Configuration,
|
|
|
|
|
stock.ConfigurationSequence,
|
|
|
|
|
stock.ShipmentDrop,
|
|
|
|
|
stock.Move,
|
2020-03-01 12:33:54 +01:00
|
|
|
sale.Configuration,
|
|
|
|
|
sale.ConfigurationSaleDropLocation,
|
2018-06-26 19:11:55 +02:00
|
|
|
sale.Sale,
|
2020-03-01 12:33:54 +01:00
|
|
|
sale.Line,
|
|
|
|
|
purchase.Request,
|
|
|
|
|
purchase.Configuration,
|
|
|
|
|
purchase.ConfigurationPurchaseDropLocation,
|
2018-06-26 19:11:55 +02:00
|
|
|
purchase.Purchase,
|
2020-03-01 12:33:54 +01:00
|
|
|
purchase.Line,
|
2018-06-26 19:11:55 +02:00
|
|
|
purchase.ProductSupplier,
|
2022-03-26 12:15:13 +01:00
|
|
|
product.Product,
|
2013-02-26 20:51:27 +01:00
|
|
|
module='sale_supply_drop_shipment', type_='model')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
purchase.RequestCreatePurchase,
|
|
|
|
|
purchase.HandleShipmentException,
|
|
|
|
|
party.Replace,
|
|
|
|
|
party.Erase,
|
2013-02-26 20:51:27 +01:00
|
|
|
module='sale_supply_drop_shipment', type_='wizard')
|