Files
tryton/__init__.py
T
2021-03-21 15:49:07 +01:00

36 lines
1022 B
Python

# 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
from . import ir
from . import company
from . import product
from . import stock
__all__ = ['register']
def register():
Pool.register(
ir.Cron,
ir.CronWarehouse,
company.Company,
product.Configuration,
product.ConfigurationCostPriceWarehouse,
product.Product,
product.CostPrice,
product.CostPriceRevision,
stock.Location,
stock.Move,
stock.ShipmentInternal,
module='product_cost_warehouse', type_='model')
Pool.register(
product.ProductCostHistory,
module='product_cost_warehouse', type_='model',
depends=['product_cost_history'])
Pool.register(
product.ModifyCostPrice,
module='product_cost_warehouse', type_='wizard')
Pool.register(
module='product_cost_warehouse', type_='report')