Files
tryton/__init__.py
T
Cédric Krier a716623087 Add budget modules
issue6089
review32861002
2021-08-28 15:26:54 +02:00

30 lines
810 B
Python

# This file is part of 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 . import account
from .account import (
BudgetMixin, BudgetLineMixin,
CopyBudgetMixin, CopyBudgetStartMixin)
__all__ = [
'BudgetMixin', 'BudgetLineMixin',
'CopyBudgetMixin', 'CopyBudgetStartMixin',
'register']
def register():
Pool.register(
account.BudgetContext,
account.Budget,
account.BudgetLine,
account.BudgetLinePeriod,
account.CopyBudgetStart,
account.CreatePeriodsStart,
module='account_budget', type_='model')
Pool.register(
account.CopyBudget,
account.CreatePeriods,
module='account_budget', type_='wizard')