Files
tryton/__init__.py
T
2018-03-24 00:10:37 +01:00

60 lines
1.5 KiB
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 .location import *
from .shipment import *
from .period import *
from .move import *
from .product import *
from .inventory import *
from .configuration import *
from . import party
def register():
Pool.register(
Location,
Party,
PartyLocation,
ProductsByLocationsContext,
LocationLeadTime,
Move,
ShipmentIn,
ShipmentInReturn,
ShipmentOut,
ShipmentOutReturn,
AssignShipmentOutAssignFailed,
ShipmentInternal,
Address,
AssignShipmentInternalAssignFailed,
AssignShipmentInReturnAssignFailed,
Period,
Cache,
Template,
Product,
ProductByLocationContext,
ProductQuantitiesByWarehouse,
ProductQuantitiesByWarehouseContext,
Inventory,
InventoryLine,
Configuration,
ConfigurationSequence,
ConfigurationLocation,
module='stock', type_='model')
Pool.register(
AssignShipmentOut,
AssignShipmentInternal,
AssignShipmentInReturn,
RecomputeCostPrice,
party.PartyReplace,
party.PartyErase,
module='stock', type_='wizard')
Pool.register(
DeliveryNote,
PickingList,
SupplierRestockingList,
CustomerReturnRestockingList,
InteralShipmentReport,
module='stock', type_='report')