2022-08-05 08:49:06 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2022-08-05 10:02:04 +00: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 08:49:06 +00:00
|
|
|
|
|
|
|
from trytond.pool import Pool
|
2022-08-05 10:02:04 +00:00
|
|
|
from .book import Book
|
2022-08-08 12:31:42 +00:00
|
|
|
from .types import Type
|
2022-08-05 14:47:43 +00:00
|
|
|
from .line import Line, LineContext
|
2022-08-24 15:12:32 +00:00
|
|
|
from .splitline import SplitLine
|
2022-10-06 11:28:42 +00:00
|
|
|
from .wizard_openline import OpenCashBook, OpenCashBookStart, OpenCashBookTree
|
2022-08-17 15:16:23 +00:00
|
|
|
from .wizard_runreport import RunCbReport, RunCbReportStart
|
2022-09-06 15:26:53 +00:00
|
|
|
from .wizard_booking import EnterBookingWizard, EnterBookingStart
|
2022-08-09 13:08:41 +00:00
|
|
|
from .configuration import Configuration, UserConfiguration
|
|
|
|
from .category import Category
|
2022-08-11 13:00:35 +00:00
|
|
|
from .reconciliation import Reconciliation
|
2022-08-17 15:16:23 +00:00
|
|
|
from .cbreport import ReconciliationReport
|
2023-02-26 21:49:21 +00:00
|
|
|
from .currency import CurrencyRate
|
|
|
|
from .model import MemCache
|
2023-11-30 12:18:14 +00:00
|
|
|
from .ir import Rule
|
2022-08-05 08:49:06 +00:00
|
|
|
|
2023-05-18 10:15:53 +00:00
|
|
|
|
2022-08-05 08:49:06 +00:00
|
|
|
def register():
|
|
|
|
Pool.register(
|
2023-02-26 21:49:21 +00:00
|
|
|
MemCache,
|
2022-08-09 13:08:41 +00:00
|
|
|
Configuration,
|
|
|
|
UserConfiguration,
|
2023-02-26 21:49:21 +00:00
|
|
|
CurrencyRate,
|
2022-08-08 12:31:42 +00:00
|
|
|
Type,
|
2022-08-09 13:08:41 +00:00
|
|
|
Category,
|
2022-08-05 10:02:04 +00:00
|
|
|
Book,
|
2022-08-05 14:47:43 +00:00
|
|
|
LineContext,
|
|
|
|
Line,
|
2022-08-24 15:12:32 +00:00
|
|
|
SplitLine,
|
2022-08-11 13:00:35 +00:00
|
|
|
Reconciliation,
|
2022-08-05 14:47:43 +00:00
|
|
|
OpenCashBookStart,
|
2022-08-17 15:16:23 +00:00
|
|
|
RunCbReportStart,
|
2022-09-06 15:26:53 +00:00
|
|
|
EnterBookingStart,
|
2023-11-30 12:18:14 +00:00
|
|
|
Rule,
|
2022-08-05 08:49:06 +00:00
|
|
|
module='cashbook', type_='model')
|
2022-08-16 15:05:01 +00:00
|
|
|
Pool.register(
|
2022-08-17 15:16:23 +00:00
|
|
|
ReconciliationReport,
|
2022-08-16 15:05:01 +00:00
|
|
|
module='cashbook', type_='report')
|
2022-08-05 14:47:43 +00:00
|
|
|
Pool.register(
|
|
|
|
OpenCashBook,
|
2022-10-06 11:28:42 +00:00
|
|
|
OpenCashBookTree,
|
2022-08-17 15:16:23 +00:00
|
|
|
RunCbReport,
|
2022-09-06 15:26:53 +00:00
|
|
|
EnterBookingWizard,
|
2022-08-05 14:47:43 +00:00
|
|
|
module='cashbook', type_='wizard')
|