trytond-edocument_edifact/__init__.py

39 lines
1.1 KiB
Python
Raw Permalink Normal View History

2018-05-02 13:50:39 +02:00
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import Pool
2019-08-28 16:37:06 +02:00
from . import configuration
2019-08-16 09:24:39 +02:00
from . import edocument
from . import stock
from . import party
from . import product
from . import incoterm
2018-05-02 13:50:39 +02:00
def register():
Pool.register(
2019-08-28 16:37:06 +02:00
configuration.Configuration,
configuration.ConfigurationSequence,
configuration.ConfigurationPath,
2019-08-16 09:24:39 +02:00
edocument.EdocumentMessage,
2019-08-28 16:37:06 +02:00
edocument.EdocumentTemplate,
edocument.EdocumentExportParams,
edocument.EdocumentExportFile,
edocument.EDocumentImportResult,
2019-08-16 09:24:39 +02:00
party.Party,
party.PartyConfiguration,
2019-08-16 09:24:39 +02:00
stock.Configuration,
stock.ConfigurationSequence,
2019-08-16 09:24:39 +02:00
product.Template,
product.Product,
2018-05-02 13:50:39 +02:00
module='edocument_edifact', type_='model')
2021-09-13 08:59:22 +02:00
Pool.register(
incoterm.Rule,
module='edocument_edifact', type_='model',
depends=['incoterm'])
Pool.register(
product.Reference,
module='edocument_edifact', type_='model',
depends=['product_cross_reference'])