/usr/lib/python3/dist-packages/trytond/modules/stock/__init__.py is in tryton-modules-stock 4.6.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | # 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 .party import PartyReplace
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,
PartyReplace,
module='stock', type_='wizard')
Pool.register(
DeliveryNote,
PickingList,
SupplierRestockingList,
CustomerReturnRestockingList,
InteralShipmentReport,
module='stock', type_='report')
|