The rule is applied when posting move on the lines without any analytic lines. issue6007 review26881002
25 lines
613 B
Python
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')
|