23 lines
607 B
Python
Executable File
23 lines
607 B
Python
Executable File
# 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 product, sale
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
product.Template,
|
|
product.Product,
|
|
sale.Configuration,
|
|
sale.ConfigurationProductRecommendation,
|
|
sale.Sale,
|
|
module='sale_product_recommendation', type_='model')
|
|
Pool.register(
|
|
sale.POSSale,
|
|
module='sale_product_recommendation', type_='model',
|
|
depends=['sale_point'])
|