Before this commit when the user wants to see the burndown chart of a old large project then the report could take more than 20 sec to be loaded. This commit adds 2 indexes one on `mail_tracking_value` table (`mail.tracking.value` model) and the other one on `mail_message` table (`mail.message` model) to reduce the load of that report to less than 10 sec. task-3177072 closes odoo/odoo#114114 X-original-commit: c6b355d471889634ae26a020e14c81e9a315b3de Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com> Co-authored-by: Yannick Tivisse <yti@odoo.com>
19 lines
586 B
Python
19 lines
586 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import analytic_account
|
|
from . import mail_message
|
|
from . import project_milestone
|
|
from . import project_project_stage
|
|
from . import project_task_recurrence
|
|
# `project_task_stage_personal` has to be loaded before `project`
|
|
from . import project_task_stage_personal
|
|
from . import project
|
|
from . import project_collaborator
|
|
from . import project_update
|
|
from . import company
|
|
from . import res_config_settings
|
|
from . import res_partner
|
|
from . import digest
|
|
from . import ir_ui_menu
|