2019-06-26 16:39:40 +02: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
|
2021-12-11 17:58:43 +01:00
|
|
|
|
2019-06-26 16:39:40 +02:00
|
|
|
from . import sale
|
|
|
|
|
|
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
sale.Sale,
|
|
|
|
|
sale.Line,
|
|
|
|
|
sale.LineTax,
|
|
|
|
|
module='sale_history', type_='model')
|
2022-09-10 17:49:38 +02:00
|
|
|
Pool.register(
|
|
|
|
|
sale.Subscription,
|
|
|
|
|
sale.SubscriptionLine,
|
|
|
|
|
module='sale_history', type_='model',
|
|
|
|
|
depends=['sale_subscription'])
|