cashbook/__init__.py

28 lines
789 B
Python
Raw Normal View History

2022-08-05 10:49:06 +02:00
# -*- coding: utf-8 -*-
2022-08-05 12:02:04 +02:00
# 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.
2022-08-05 10:49:06 +02:00
from trytond.pool import Pool
2022-08-05 12:02:04 +02:00
from .book import Book
2022-08-08 14:31:42 +02:00
from .types import Type
from .line import Line, LineContext
from .wizard_openline import OpenCashBook, OpenCashBookStart
2022-08-09 15:08:41 +02:00
from .configuration import Configuration, UserConfiguration
from .category import Category
2022-08-05 10:49:06 +02:00
def register():
Pool.register(
2022-08-09 15:08:41 +02:00
Configuration,
UserConfiguration,
2022-08-08 14:31:42 +02:00
Type,
2022-08-09 15:08:41 +02:00
Category,
2022-08-05 12:02:04 +02:00
Book,
LineContext,
Line,
OpenCashBookStart,
2022-08-05 10:49:06 +02:00
module='cashbook', type_='model')
Pool.register(
OpenCashBook,
module='cashbook', type_='wizard')