Files
tryton/modules/stock_shipment_cost/__init__.py
T

27 lines
892 B
Python
Raw Normal View History

2021-02-27 14:38:53 +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.
2021-12-11 17:58:44 +01:00
from trytond.modules.stock.stock_reporting_margin import Abstract
2021-02-27 14:38:53 +01:00
from trytond.pool import Pool
2022-04-12 00:15:35 +02:00
from . import carrier, stock, stock_reporting_margin
2022-09-01 22:26:46 +02:00
from .stock import ShipmentCostMixin
2021-02-27 14:38:53 +01:00
2022-09-01 22:26:46 +02:00
__all__ = ['register', 'ShipmentCostMixin']
2021-02-27 14:38:53 +01:00
def register():
Pool.register(
2022-04-12 00:15:35 +02:00
carrier.Carrier,
2021-02-27 14:38:53 +01:00
stock.Move,
stock.ShipmentOut,
stock.ShipmentOutReturn,
stock_reporting_margin.Context,
module='stock_shipment_cost', type_='model')
Pool.register(
module='stock_shipment_cost', type_='wizard')
Pool.register(
module='stock_shipment_cost', type_='report')
Pool.register_mixin(
stock_reporting_margin.AbstractShipmentOutCostMixin, Abstract,
module='stock_shipment_cost')