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,
|
2023-07-28 12:27:32 +02:00
|
|
|
configuration.ConfigurationPath,
|
2019-08-16 09:24:39 +02:00
|
|
|
edocument.EdocumentMessage,
|
2019-08-28 16:37:06 +02:00
|
|
|
edocument.EdocumentTemplate,
|
2023-08-31 10:46:58 +02:00
|
|
|
edocument.EdocumentExportParams,
|
|
|
|
edocument.EdocumentExportFile,
|
2023-08-31 22:23:40 +02:00
|
|
|
edocument.EDocumentImportResult,
|
2019-08-16 09:24:39 +02:00
|
|
|
party.Party,
|
2023-08-31 22:23:40 +02:00
|
|
|
party.PartyConfiguration,
|
2019-08-16 09:24:39 +02:00
|
|
|
stock.Configuration,
|
2022-08-09 13:18:35 +02:00
|
|
|
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'])
|