Before this commit: - Join between task and rating is made on parent_res_id - Displayed value is the sum of tasks average_rating - No Unit test to cover this case - Measure displayed when customer rating setting is not active - [Demo data] Each task is rated one time so average_rating and last_rating are the same After this commit: - Join is made on res_id which is the task_id - Displayed value is the avg of tasks average_rating - Unit test added to cover mesaures calculation - Measure dusplayed only when setting active - New demo record added to let average_rating be different from last_rating closes odoo/odoo#89764 X-original-commit: 3a5d816ef26a164fc38965154e38b45e33f9a81e Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com> Signed-off-by: Xavier <xbo@odoo.com>
25 lines
809 B
Python
25 lines
809 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import test_access_rights
|
|
from . import test_burndown_chart
|
|
from . import test_project_base
|
|
from . import test_project_config
|
|
from . import test_project_flow
|
|
from . import test_project_profitability
|
|
from . import test_project_recurrence
|
|
from . import test_project_sharing
|
|
from . import test_project_sharing_portal_access
|
|
from . import test_project_sharing_ui
|
|
from . import test_project_subtasks
|
|
from . import test_project_ui
|
|
from . import test_project_update_access_rights
|
|
from . import test_project_update_flow
|
|
from . import test_project_update_ui
|
|
from . import test_portal
|
|
from . import test_multicompany
|
|
from . import test_personal_stages
|
|
from . import test_task_dependencies
|
|
from . import test_task_follow
|
|
from . import test_task_tracking
|
|
from . import test_project_report
|