2020-04-16 15:28:50 +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
|
2023-06-15 17:22:24 +02:00
|
|
|
from . import ir
|
2021-07-20 19:30:12 +02:00
|
|
|
from . import case
|
|
|
|
from . import customer_service
|
|
|
|
from . import configuration
|
|
|
|
from . import party
|
2022-03-05 00:02:28 +01:00
|
|
|
from . import sale
|
2021-07-20 19:30:12 +02:00
|
|
|
from . import survey
|
|
|
|
from . import activity
|
2022-01-24 20:29:13 +01:00
|
|
|
from . import opportunity
|
2022-11-18 20:28:59 +01:00
|
|
|
from . import company
|
2023-05-19 05:51:13 +02:00
|
|
|
from . import dash
|
|
|
|
from . import commission
|
2023-10-09 19:03:05 +02:00
|
|
|
from . import chart
|
2020-04-16 15:28:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2021-07-20 19:30:12 +02:00
|
|
|
survey.SurveyGroup,
|
2021-07-20 21:50:32 +02:00
|
|
|
survey.SurveyTemplate,
|
2021-07-20 19:30:12 +02:00
|
|
|
survey.SurveyTemplateLine,
|
|
|
|
survey.Survey,
|
|
|
|
survey.SurveyLine,
|
|
|
|
configuration.Configuration,
|
|
|
|
case.Case,
|
|
|
|
customer_service.CustomerService,
|
|
|
|
customer_service.CustomerServiceIndicatorsStart,
|
|
|
|
customer_service.EfficacyMonthStart,
|
|
|
|
party.Party,
|
2022-03-05 00:02:28 +01:00
|
|
|
sale.Sale,
|
2021-07-20 19:30:12 +02:00
|
|
|
activity.Activity,
|
2023-10-30 21:23:03 +01:00
|
|
|
opportunity.Prospect,
|
2022-01-24 20:29:13 +01:00
|
|
|
opportunity.Opportunity,
|
2023-06-12 14:48:50 +02:00
|
|
|
opportunity.LeadOrigin,
|
2022-01-24 20:29:13 +01:00
|
|
|
opportunity.CrmOpportunityLine,
|
2023-11-24 22:23:36 +01:00
|
|
|
# opportunity.Person,
|
2022-09-22 22:30:16 +02:00
|
|
|
opportunity.OpportunityCancellReason,
|
2023-09-05 19:34:36 +02:00
|
|
|
opportunity.OpportunitySaleConditions,
|
2022-03-18 23:51:33 +01:00
|
|
|
ir.Cron,
|
2022-11-18 20:28:59 +01:00
|
|
|
company.Company,
|
2023-05-19 05:51:13 +02:00
|
|
|
dash.DashApp,
|
|
|
|
dash.AppCRMSales,
|
|
|
|
dash.AppCRMService,
|
|
|
|
dash.AppCRMMarketing,
|
|
|
|
commission.Agent,
|
2023-10-09 19:03:05 +02:00
|
|
|
chart.CRMChart,
|
2020-04-16 15:28:50 +02:00
|
|
|
module='crm', type_='model')
|
|
|
|
Pool.register(
|
2021-07-20 19:30:12 +02:00
|
|
|
customer_service.CustomerServiceReport,
|
|
|
|
customer_service.CustomerServiceIndicators,
|
|
|
|
customer_service.EfficacyMonth,
|
|
|
|
customer_service.PrintCustomerService,
|
2020-04-16 15:28:50 +02:00
|
|
|
module='crm', type_='wizard')
|
|
|
|
Pool.register(
|
2021-07-20 19:30:12 +02:00
|
|
|
customer_service.CustomerServiceReport,
|
|
|
|
customer_service.CustomerServiceIndicatorsReport,
|
|
|
|
customer_service.EfficacyMonthReport,
|
|
|
|
customer_service.MonitoringReport,
|
|
|
|
survey.SurveyReport,
|
2022-02-19 15:57:13 +01:00
|
|
|
opportunity.OpportunityReport,
|
2022-03-03 23:39:05 +01:00
|
|
|
opportunity.OpportunityOnlyReport,
|
|
|
|
opportunity.OpportunityWithoutTaxReport,
|
|
|
|
opportunity.OpportunityLargeReport,
|
2020-04-16 15:28:50 +02:00
|
|
|
module='crm', type_='report')
|