cashbook_report/__init__.py

34 lines
1,000 B
Python
Raw Normal View History

2022-10-28 11:57:52 +02: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 10:17:31 +01:00
from .evaluation import Evaluation
from .line import EvaluationLine
from .currency import Currency
from .evaluation_context import EvaluationContext
2022-11-03 23:28:57 +01:00
from .evaluation_wizard import OpenChartWizard
from .investment import InvestmentEvaluation, InvestmentLine
from .ir import Rule, IrActWindow
2022-10-28 11:57:52 +02:00
def register():
Pool.register(
Currency,
2022-10-28 13:27:33 +02:00
Evaluation,
2022-11-04 10:17:31 +01:00
EvaluationLine,
EvaluationContext,
Rule,
IrActWindow,
2022-10-28 11:57:52 +02:00
module='cashbook_report', type_='model')
2022-11-03 23:28:57 +01:00
Pool.register(
OpenChartWizard,
module='cashbook_report', type_='wizard')
Pool.register(
InvestmentEvaluation,
InvestmentLine,
2023-06-16 14:15:57 +02:00
module='cashbook_report',
type_='model',
depends=['cashbook_investment'])