Files
tryton/__init__.py
T
Cédric Krier e9e547fdb8 Add carrier_carriage module
issue11623
review443451003
2022-09-10 17:35:38 +02:00

30 lines
837 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 account, party, sale, stock
from .stock import ShipmentCostSaleMixin
__all__ = ['register', 'ShipmentCostSaleMixin']
def register():
Pool.register(
party.Party,
party.PartySaleMethod,
account.InvoiceLine,
sale.Configuration,
sale.ConfigurationSaleMethod,
sale.Sale,
sale.Line,
stock.ShipmentOut,
module='sale_shipment_cost', type_='model')
Pool.register(
sale.Promotion,
module='sale_shipment_cost', type_='model',
depends=['sale_promotion'])
Pool.register(
sale.ReturnSale,
module='sale_shipment_cost', type_='wizard')