Files
tryton/__init__.py
T

22 lines
623 B
Python
Raw Normal View History

2014-12-02 12:55:09 +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:38:56 +01:00
2012-09-24 22:17:48 +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:48 +02:00
def register():
Pool.register(
2018-03-20 17:29:55 +01:00
carrier.Carrier,
2012-09-24 22:17:48 +02:00
module='carrier_percentage', type_='model')
2018-03-20 17:29:55 +01:00
Pool.register(
stock.ShipmentIn,
module='carrier_percentage', type_='model',
depends=['purchase_shipment_cost'])
Pool.register(
stock.ShipmentOut,
sale.Sale,
module='carrier_percentage', type_='model',
depends=['sale_shipment_cost'])