2014-12-02 12:55:56 +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.
|
2010-07-05 23:16:33 +02:00
|
|
|
|
2012-09-24 22:18:14 +02:00
|
|
|
from trytond.pool import Pool
|
2020-03-01 12:33:53 +01:00
|
|
|
from . import opportunity
|
|
|
|
|
from . import configuration
|
|
|
|
|
from . import sale
|
|
|
|
|
from . import party
|
|
|
|
|
from . import account
|
|
|
|
|
from . import product
|
|
|
|
|
from . import company
|
2012-09-24 22:18:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
opportunity.SaleOpportunity,
|
|
|
|
|
opportunity.SaleOpportunityLine,
|
|
|
|
|
opportunity.SaleOpportunityEmployee,
|
|
|
|
|
opportunity.SaleOpportunityEmployeeContext,
|
|
|
|
|
opportunity.SaleOpportunityMonthly,
|
|
|
|
|
opportunity.SaleOpportunityEmployeeMonthly,
|
|
|
|
|
configuration.Configuration,
|
|
|
|
|
configuration.ConfigurationSequence,
|
|
|
|
|
sale.Sale,
|
|
|
|
|
party.Party,
|
|
|
|
|
party.Address,
|
|
|
|
|
account.PaymentTerm,
|
|
|
|
|
account.PaymentTermLine,
|
|
|
|
|
product.Template,
|
|
|
|
|
product.Product,
|
|
|
|
|
company.Company,
|
|
|
|
|
company.Employee,
|
2012-09-24 22:18:14 +02:00
|
|
|
module='sale_opportunity', type_='model')
|
2016-10-02 15:21:20 +02:00
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
party.Replace,
|
2016-10-02 15:21:20 +02:00
|
|
|
module='sale_opportunity', type_='wizard')
|