Files
tryton/modules/carrier_weight/__init__.py
T

23 lines
644 B
Python
Raw Normal View History

2014-12-02 12:55:11 +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.
2012-02-07 19:50:26 +01:00
2012-09-24 22:17:49 +02:00
from trytond.pool import Pool
2021-12-11 17:58:42 +01:00
from . import carrier, sale, stock
2012-09-24 22:17:49 +02:00
def register():
Pool.register(
2018-03-20 17:30:09 +01:00
carrier.Carrier,
carrier.WeightPriceList,
2012-09-24 22:17:49 +02:00
module='carrier_weight', type_='model')
2018-03-20 17:30:09 +01:00
Pool.register(
stock.ShipmentIn,
module='carrier_weight', type_='model',
depends=['purchase_shipment_cost'])
Pool.register(
stock.ShipmentOut,
sale.Sale,
module='carrier_weight', type_='model',
depends=['sale_shipment_cost'])