Files
tryton/__init__.py
T
Cédric Krier a81717c1e0 Historize all related Models
To be able to read historized record, we need to have also the history of the
related records.

issue5511
review20951003
2016-04-26 09:55:51 +02:00

36 lines
921 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 *
from .party import *
from .account import *
from .product import *
from .company import *
def register():
Pool.register(
SaleOpportunity,
SaleOpportunityLine,
SaleOpportunityEmployee,
OpenSaleOpportunityEmployeeStart,
SaleOpportunityMonthly,
SaleOpportunityEmployeeMonthly,
Configuration,
Sale,
Party,
Address,
PaymentTerm,
PaymentTermLine,
Template,
Product,
Company,
Employee,
module='sale_opportunity', type_='model')
Pool.register(
OpenSaleOpportunityEmployee,
module='sale_opportunity', type_='wizard')