Files
tryton/__init__.py
T
2021-10-11 22:41:31 +02:00

30 lines
786 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 party
from . import account
from . import sale
from . import stock
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')