2014-12-02 12:54:55 +01:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
# this repository contains the full copyright notices and license terms.
|
2008-05-23 15:04:38 +02:00
|
|
|
|
2012-09-24 22:11:39 +02:00
|
|
|
from trytond.pool import Pool
|
2020-03-01 12:33:52 +01:00
|
|
|
from . import account
|
|
|
|
|
from . import line
|
2017-01-07 16:46:24 +01:00
|
|
|
from . import rule
|
2020-03-01 12:33:52 +01:00
|
|
|
from .account import AnalyticMixin
|
|
|
|
|
|
|
|
|
|
__all__ = [AnalyticMixin]
|
2012-09-24 22:11:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:52 +01:00
|
|
|
account.Account,
|
|
|
|
|
account.AccountDistribution,
|
|
|
|
|
account.OpenChartAccountStart,
|
|
|
|
|
account.AnalyticAccountEntry,
|
|
|
|
|
line.Line,
|
|
|
|
|
line.Move,
|
|
|
|
|
line.MoveLine,
|
2017-01-07 16:46:24 +01:00
|
|
|
rule.Rule,
|
2012-09-24 22:11:39 +02:00
|
|
|
module='analytic_account', type_='model')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:52 +01:00
|
|
|
account.OpenChartAccount,
|
|
|
|
|
line.OpenAccount,
|
2012-09-24 22:11:39 +02:00
|
|
|
module='analytic_account', type_='wizard')
|