forked from trytonus/trytond-report-html-stock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
30 lines (28 loc) · 869 Bytes
/
__init__.py
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
# -*- coding: utf-8 -*-
from trytond.pool import Pool
from stock import ShipmentOut, Move
from report_html_stock import PickingList, SupplierRestockingList, \
CustomerReturnRestockingList, ConsolidatedPickingList, DeliveryNote, \
ProductLedger, ProductLedgerStartView, ProductLedgerReport, \
InternalShipmentReport
def register():
Pool.register(
ShipmentOut,
Move,
ProductLedgerStartView,
module='report_html_stock', type_='model'
)
Pool.register(
ProductLedger,
module='report_html_stock', type_='wizard'
)
Pool.register(
PickingList,
SupplierRestockingList,
CustomerReturnRestockingList,
ConsolidatedPickingList,
DeliveryNote,
ProductLedgerReport,
InternalShipmentReport,
module='report_html_stock', type_='report'
)