investment/__init__.py

35 lines
992 B
Python
Raw Normal View History

2022-11-09 14:30:32 +01:00
# -*- coding: utf-8 -*-
# This file is part of the investment-module from m-ds.de for Tryton.
2022-11-09 14:30:32 +01:00
# The COPYRIGHT file at the top level of this repository contains the
# full copyright notices and license terms.
from trytond.pool import Pool
2022-11-29 21:54:27 +01:00
from .asset import Asset, AssetSourceRel
2022-11-13 22:57:40 +01:00
from .rate import Rate
from .identifier import Identifier
from .cron import Cron
from .onlinesource import OnlineSource
2022-11-19 00:21:52 +01:00
from .update_wiz import UpdateSoureWizard
from .diagram import GraphDef, ChartPoint
2022-12-19 21:13:32 +01:00
from .import_wiz import ImportWizard, ImportWizardStart
2022-11-09 14:30:32 +01:00
def register():
Pool.register(
OnlineSource,
2022-11-29 21:54:27 +01:00
AssetSourceRel,
2022-11-09 21:49:33 +01:00
Asset,
2022-11-13 22:57:40 +01:00
Rate,
Identifier,
Cron,
2022-12-19 21:13:32 +01:00
ImportWizardStart,
2022-11-09 14:30:32 +01:00
module='investment', type_='model')
Pool.register(
GraphDef,
ChartPoint,
module='investment', type_='model', depends=['diagram'])
2022-11-19 00:21:52 +01:00
Pool.register(
UpdateSoureWizard,
2022-12-19 21:13:32 +01:00
ImportWizard,
2022-11-19 00:21:52 +01:00
module='investment', type_='wizard')