cashbook_report/__init__.py

34 lines
1,000 B
Python
Raw Normal View History

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