34 lines
1.0 KiB
Python
34 lines
1.0 KiB
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 sale
|
|
from . import party
|
|
from . import product
|
|
from . import web_channel
|
|
from . import mercado_libre
|
|
from . import shopify
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
web_channel.SaleWebChannel,
|
|
mercado_libre.MercadoLibre,
|
|
shopify.Shopify,
|
|
sale.Sale,
|
|
sale.SaleForChannelStart,
|
|
web_channel.SynchronizeChannelOrdersStart,
|
|
web_channel.SynchronizeChannelOrdersDone,
|
|
web_channel.FinishInvoicesStart,
|
|
party.Party,
|
|
product.Template,
|
|
module='sale_web_channel', type_='model')
|
|
Pool.register(
|
|
sale.SaleUploadInvoice,
|
|
sale.SaleForChannel,
|
|
web_channel.SynchronizeChannelOrders,
|
|
web_channel.FinishInvoices,
|
|
module='sale_web_channel', type_='wizard')
|
|
Pool.register(
|
|
sale.SaleForChannelReport,
|
|
module='sale_web_channel', type_='report')
|