Adapt __init__ to new style

This commit is contained in:
Guillem Barba 2016-10-06 16:03:14 +02:00
parent f68094dc36
commit b5e005f0d6
1 changed files with 14 additions and 13 deletions

View File

@ -1,23 +1,24 @@
# 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 .analytic import *
import account
import analytic
def register():
Pool.register(
Configuration,
AnalyticAccount,
AnalyticAccountAccountRequired,
AnalyticAccountAccountForbidden,
AnalyticAccountAccountOptional,
AnalyticLine,
Account,
Move,
MoveLine,
OpenChartAccountStart,
account.Configuration,
analytic.AnalyticAccount,
analytic.AnalyticAccountAccountRequired,
analytic.AnalyticAccountAccountForbidden,
analytic.AnalyticAccountAccountOptional,
analytic.AnalyticLine,
account.Account,
account.Move,
account.MoveLine,
analytic.OpenChartAccountStart,
module='analytic_line_state', type_='model')
Pool.register(
OpenChartAccount,
analytic.OpenChartAccount,
module='analytic_line_state', type_='wizard')