There is no need to use a custom Model to show history of record since client manage revision of any historized model. issue5020 review16711002
24 lines
683 B
Python
24 lines
683 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 .opportunity import *
|
|
from .configuration import *
|
|
from .sale import *
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
SaleOpportunity,
|
|
SaleOpportunityLine,
|
|
SaleOpportunityEmployee,
|
|
OpenSaleOpportunityEmployeeStart,
|
|
SaleOpportunityMonthly,
|
|
SaleOpportunityEmployeeMonthly,
|
|
Configuration,
|
|
Sale,
|
|
module='sale_opportunity', type_='model')
|
|
Pool.register(
|
|
OpenSaleOpportunityEmployee,
|
|
module='sale_opportunity', type_='wizard')
|