2019-03-30 15:51:15 +01:00
|
|
|
# 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
|
|
|
|
|
from . import sale
|
|
|
|
|
|
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
product.Template,
|
|
|
|
|
product.Product,
|
|
|
|
|
product.ProductCustomer,
|
|
|
|
|
sale.Line,
|
|
|
|
|
module='sale_product_customer', type_='model')
|
2019-09-29 18:30:25 +02:00
|
|
|
Pool.register(
|
|
|
|
|
sale.AmendmentLine,
|
|
|
|
|
module='sale_product_customer', type_='model',
|
|
|
|
|
depends=['sale_amendment'])
|
2019-03-30 15:51:15 +01:00
|
|
|
Pool.register(
|
|
|
|
|
module='sale_product_customer', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
module='sale_product_customer', type_='report')
|