2021-03-21 15:49:07 +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.
|
|
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:43 +01:00
|
|
|
|
|
|
|
|
from . import account, company, ir, product, res, stock
|
2021-03-21 15:49:07 +01:00
|
|
|
|
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
ir.Cron,
|
|
|
|
|
ir.CronWarehouse,
|
2021-10-08 19:16:44 +02:00
|
|
|
res.User,
|
2021-03-21 15:49:07 +01:00
|
|
|
company.Company,
|
|
|
|
|
product.Configuration,
|
|
|
|
|
product.ConfigurationCostPriceWarehouse,
|
|
|
|
|
product.Product,
|
|
|
|
|
product.CostPrice,
|
|
|
|
|
product.CostPriceRevision,
|
2021-07-28 00:37:51 +02:00
|
|
|
stock.Configuration,
|
|
|
|
|
stock.ConfigurationLocation,
|
2021-03-21 15:49:07 +01:00
|
|
|
stock.Location,
|
|
|
|
|
stock.Move,
|
|
|
|
|
stock.ShipmentInternal,
|
|
|
|
|
module='product_cost_warehouse', type_='model')
|
2021-07-29 09:06:38 +02:00
|
|
|
Pool.register(
|
|
|
|
|
account.InvoiceLine,
|
|
|
|
|
module='product_cost_warehouse', type_='model',
|
|
|
|
|
depends=['account_invoice_stock'])
|
2021-03-21 15:49:07 +01:00
|
|
|
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')
|