cashbook_planner/__init__.py

27 lines
758 B
Python
Raw Normal View History

2024-02-24 09:39:42 +00:00
# -*- coding: utf-8 -*-
# This file is part of the cashbook-planner 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 .ir import Rule
from .planner import ScheduledBooking, ScheduledBookingCashbookRel
from .cashbook import Cashbook, CashbookLine
2024-02-27 21:40:59 +00:00
from .cron import Cron
from .nextrun import NextRun
from .config import Configuration, UserConfiguration
2024-02-24 09:39:42 +00:00
def register():
Pool.register(
Configuration,
UserConfiguration,
Rule,
ScheduledBooking,
2024-02-27 21:40:59 +00:00
NextRun,
Cashbook,
CashbookLine,
2024-02-27 21:40:59 +00:00
Cron,
ScheduledBookingCashbookRel,
2024-02-24 09:39:42 +00:00
module='cashbook_planner', type_='model')