cashbook/__init__.py
Frederik Jaeckel ab43044f64 report ok, auf book und line
berechtigungen optimiert
2022-08-17 17:16:23 +02:00

36 lines
1.1 KiB
Python

# -*- 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
from .book import Book
from .types import Type
from .line import Line, LineContext
from .wizard_openline import OpenCashBook, OpenCashBookStart
from .wizard_runreport import RunCbReport, RunCbReportStart
from .configuration import Configuration, UserConfiguration
from .category import Category
from .reconciliation import Reconciliation
from .cbreport import ReconciliationReport
def register():
Pool.register(
Configuration,
UserConfiguration,
Type,
Category,
Book,
LineContext,
Line,
Reconciliation,
OpenCashBookStart,
RunCbReportStart,
module='cashbook', type_='model')
Pool.register(
ReconciliationReport,
module='cashbook', type_='report')
Pool.register(
OpenCashBook,
RunCbReport,
module='cashbook', type_='wizard')