2014-12-02 12:56:12 +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.
|
2008-09-30 15:14:08 +02:00
|
|
|
|
2012-09-24 22:18:22 +02:00
|
|
|
from trytond.pool import Pool
|
2018-03-20 17:32:20 +01:00
|
|
|
from . import product
|
|
|
|
|
from . import location
|
2016-10-20 11:59:00 +02:00
|
|
|
from . import production
|
2012-09-24 22:18:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-05-22 11:35:01 +02:00
|
|
|
product.Template,
|
2018-03-20 17:32:20 +01:00
|
|
|
product.Product,
|
|
|
|
|
location.ProductLocation,
|
|
|
|
|
location.Move,
|
|
|
|
|
location.ShipmentIn,
|
|
|
|
|
location.ShipmentOutReturn,
|
2012-09-24 22:18:22 +02:00
|
|
|
module='stock_product_location', type_='model')
|
2018-03-20 17:32:20 +01:00
|
|
|
Pool.register(
|
|
|
|
|
production.Production,
|
|
|
|
|
module='stock_product_location', type_='model',
|
|
|
|
|
depends=['production'])
|