Files
tryton/modules/sale_opportunity/__init__.py
T
Cédric Krier afcba82077 Do not add history to unnecessary model
d38610e26ede added history to all related models but it is not necessary as
only the One2Many and Many2Many are needed.
If the target of a Many2One or a Reference has been deleted meanwhile then the
record may not be readable at that date.

Closes #13768
2024-12-20 11:22:47 +01:00

27 lines
937 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
from . import configuration, opportunity, opportunity_reporting, party, sale
def register():
Pool.register(
opportunity.SaleOpportunity,
opportunity.SaleOpportunityLine,
opportunity_reporting.Context,
opportunity_reporting.Main,
opportunity_reporting.MainTimeseries,
opportunity_reporting.Conversion,
opportunity_reporting.ConversionTimeseries,
opportunity_reporting.ConversionEmployee,
opportunity_reporting.ConversionEmployeeTimeseries,
configuration.Configuration,
configuration.ConfigurationSequence,
sale.Sale,
module='sale_opportunity', type_='model')
Pool.register(
party.Replace,
module='sale_opportunity', type_='wizard')