A new type of account is added for distribution. It is used on Account Entry to yield the lines to create for a accounting line. issue5908 review31551002
23 lines
575 B
Python
23 lines
575 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 *
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
Account,
|
|
AccountDistribution,
|
|
OpenChartAccountStart,
|
|
AnalyticAccountEntry,
|
|
Line,
|
|
Move,
|
|
MoveLine,
|
|
module='analytic_account', type_='model')
|
|
Pool.register(
|
|
OpenChartAccount,
|
|
OpenAccount,
|
|
module='analytic_account', type_='wizard')
|