investment/__init__.py

32 lines
845 B
Python
Raw Normal View History

2022-11-09 13:30:32 +00:00
# -*- coding: utf-8 -*-
2022-11-09 20:49:33 +00:00
# This file is part of the investment-module from m-ds for Tryton.
2022-11-09 13:30:32 +00: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-09 20:49:33 +00:00
from .asset import Asset
2022-11-13 21:57:40 +00:00
from .rate import Rate
from .identifier import Identifier
from .cron import Cron
from .onlinesource import OnlineSource
2022-11-18 23:21:52 +00:00
from .update_wiz import UpdateSoureWizard
from .diagram import GraphDef, ChartPoint
2022-11-09 13:30:32 +00:00
def register():
Pool.register(
OnlineSource,
2022-11-09 20:49:33 +00:00
Asset,
2022-11-13 21:57:40 +00:00
Rate,
Identifier,
Cron,
2022-11-09 13:30:32 +00:00
module='investment', type_='model')
Pool.register(
GraphDef,
ChartPoint,
module='investment', type_='model', depends=['diagram'])
2022-11-18 23:21:52 +00:00
Pool.register(
UpdateSoureWizard,
module='investment', type_='wizard')