2020-05-31 18:40:21 +02:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of this
|
2021-07-21 00:22:58 +02:00
|
|
|
# repository contains the full copyright notices and license terms.
|
2020-05-31 18:40:21 +02:00
|
|
|
from trytond.pool import Pool
|
2021-07-21 00:22:58 +02:00
|
|
|
from . import sale
|
|
|
|
from . import party
|
|
|
|
from . import web_channel
|
|
|
|
from . import mercado_libre
|
|
|
|
from . import shopify
|
2023-08-17 21:52:47 +02:00
|
|
|
from . import rappi
|
2021-11-03 18:45:34 +01:00
|
|
|
from . import api_log
|
|
|
|
from . import ir
|
2023-11-28 23:23:11 +01:00
|
|
|
# from . import routes
|
2023-09-01 15:29:48 +02:00
|
|
|
from . import shop
|
|
|
|
from . import web
|
2023-07-25 17:14:46 +02:00
|
|
|
|
|
|
|
|
2023-11-28 23:23:11 +01:00
|
|
|
# __all__ = ['register', 'routes']
|
|
|
|
__all__ = ['register']
|
2021-07-21 00:22:58 +02:00
|
|
|
|
2020-05-31 18:40:21 +02:00
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2023-11-28 23:23:11 +01:00
|
|
|
# web_channel.SaleWebChannel,
|
2023-09-27 23:57:00 +02:00
|
|
|
web.Shop,
|
2023-09-01 15:29:48 +02:00
|
|
|
# shopify.Shopify,
|
2020-05-31 18:40:21 +02:00
|
|
|
sale.Sale,
|
2023-11-28 23:23:11 +01:00
|
|
|
sale.SaleForChannelStart,
|
|
|
|
web.SynchronizeChannelOrdersStart,
|
|
|
|
web.SynchronizeChannelOrdersDone,
|
2023-09-01 15:29:48 +02:00
|
|
|
# web_channel.FinishInvoicesStart,
|
2020-05-31 18:40:21 +02:00
|
|
|
party.Party,
|
2021-11-03 18:45:34 +01:00
|
|
|
api_log.ApiLog,
|
|
|
|
ir.Cron,
|
2020-05-31 18:40:21 +02:00
|
|
|
module='sale_web_channel', type_='model')
|
2020-06-23 06:24:08 +02:00
|
|
|
Pool.register(
|
|
|
|
sale.SaleUploadInvoice,
|
2023-11-28 23:23:11 +01:00
|
|
|
sale.SaleForChannel,
|
|
|
|
web.SynchronizeChannelOrders,
|
2023-09-01 15:29:48 +02:00
|
|
|
# web_channel.FinishInvoices,
|
|
|
|
# web_channel.SynchronizeMenuWizard,
|
2020-06-23 06:24:08 +02:00
|
|
|
module='sale_web_channel', type_='wizard')
|
2020-09-25 01:34:59 +02:00
|
|
|
Pool.register(
|
2023-11-28 23:23:11 +01:00
|
|
|
sale.SaleForChannelReport,
|
2020-09-25 01:34:59 +02:00
|
|
|
module='sale_web_channel', type_='report')
|