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
|
2022-11-11 21:46:53 +00:00
|
|
|
from .identifier import Identifier
|
2022-11-14 22:03:54 +00:00
|
|
|
from .cron import Cron
|
|
|
|
from .onlinesource import OnlineSource
|
2022-11-18 23:21:52 +00:00
|
|
|
from .update_wiz import UpdateSoureWizard
|
2022-11-26 21:42:02 +00:00
|
|
|
from .diagram import GraphDef, ChartPoint
|
2022-11-14 22:03:54 +00:00
|
|
|
|
2022-11-09 13:30:32 +00:00
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2022-11-14 22:03:54 +00:00
|
|
|
OnlineSource,
|
2022-11-09 20:49:33 +00:00
|
|
|
Asset,
|
2022-11-13 21:57:40 +00:00
|
|
|
Rate,
|
2022-11-11 21:46:53 +00:00
|
|
|
Identifier,
|
2022-11-14 22:03:54 +00:00
|
|
|
Cron,
|
2022-11-09 13:30:32 +00:00
|
|
|
module='investment', type_='model')
|
2022-11-26 21:42:02 +00:00
|
|
|
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')
|
|
|
|
|