Files
tryton/__init__.py
T
2019-10-08 18:57:22 +02:00

35 lines
994 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 . import category
from . import party
from . import address
from . import contact_mechanism
from . import configuration
def register():
Pool.register(
category.Category,
party.Party,
party.PartyLang,
party.PartyCategory,
party.PartyIdentifier,
party.CheckVIESResult,
party.PartyReplaceAsk,
party.PartyEraseAsk,
address.Address,
address.AddressFormat,
address.SubdivisionType,
contact_mechanism.ContactMechanism,
configuration.Configuration,
configuration.ConfigurationSequence,
configuration.ConfigurationLang,
module='party', type_='model')
Pool.register(
party.CheckVIES,
party.PartyReplace,
party.PartyErase,
module='party', type_='wizard')