Files
tryton/__init__.py
T
Cédric Krier 1861d82a36 Add rule engine
The rule is applied when posting move on the lines without any analytic lines.

issue6007
review26881002
2017-01-07 16:46:24 +01:00

25 lines
613 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 .account import *
from .line import *
from . import rule
def register():
Pool.register(
Account,
AccountDistribution,
OpenChartAccountStart,
AnalyticAccountEntry,
Line,
Move,
MoveLine,
rule.Rule,
module='analytic_account', type_='model')
Pool.register(
OpenChartAccount,
OpenAccount,
module='analytic_account', type_='wizard')