26 lines
747 B
Python
26 lines
747 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
|
|
import sale
|
|
import party
|
|
import product
|
|
import web_channel
|
|
import mercado_libre
|
|
|
|
def register():
|
|
Pool.register(
|
|
web_channel.SaleWebChannel,
|
|
mercado_libre.MercadoLibre,
|
|
sale.Sale,
|
|
sale.SaleForChannelStart,
|
|
party.Party,
|
|
product.Template,
|
|
module='sale_web_channel', type_='model')
|
|
Pool.register(
|
|
sale.SaleUploadInvoice,
|
|
sale.SaleForChannel,
|
|
module='sale_web_channel', type_='wizard')
|
|
Pool.register(
|
|
sale.SaleForChannelReport,
|
|
module='sale_web_channel', type_='report')
|