2022-10-28 09:57:52 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# This file is part of the cashbook-module from m-ds for Tryton.
|
|
|
|
# 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-04 09:17:31 +00:00
|
|
|
from .evaluation import Evaluation
|
|
|
|
from .line import EvaluationLine
|
2022-10-30 21:35:24 +00:00
|
|
|
from .currency import Currency
|
2022-11-02 22:07:37 +00:00
|
|
|
from .evaluation_context import EvaluationContext
|
2022-11-03 22:28:57 +00:00
|
|
|
from .evaluation_wizard import OpenChartWizard
|
2023-02-02 22:35:58 +00:00
|
|
|
from .investment import InvestmentEvaluation, InvestmentLine
|
|
|
|
|
2022-10-28 09:57:52 +00:00
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2022-10-30 21:35:24 +00:00
|
|
|
Currency,
|
2022-10-28 11:27:33 +00:00
|
|
|
Evaluation,
|
2022-11-04 09:17:31 +00:00
|
|
|
EvaluationLine,
|
2022-11-02 22:07:37 +00:00
|
|
|
EvaluationContext,
|
2022-10-28 09:57:52 +00:00
|
|
|
module='cashbook_report', type_='model')
|
2022-11-03 22:28:57 +00:00
|
|
|
Pool.register(
|
|
|
|
OpenChartWizard,
|
|
|
|
module='cashbook_report', type_='wizard')
|
2023-02-02 22:35:58 +00:00
|
|
|
Pool.register(
|
|
|
|
InvestmentEvaluation,
|
|
|
|
InvestmentLine,
|
|
|
|
module='cashbook_report', type_='model', depends=['cashbook_investment'])
|