Unused report menu hide
This commit is contained in:
parent
7f09f02daf
commit
8248aa7006
|
@ -23,7 +23,7 @@
|
|||
'report/project_timesheet_report_views.xml',
|
||||
'report/project_revenue_custom_report_views.xml',
|
||||
'report/project_consultant_custom_report_views.xml',
|
||||
'report/cor_project_report_views.xml',
|
||||
#'report/cor_project_report_views.xml',
|
||||
],
|
||||
'qweb': [
|
||||
"static/src/xml/base.xml",
|
||||
|
|
|
@ -7,4 +7,4 @@ from . import project_timeline_report
|
|||
from . import project_timesheet_report
|
||||
from . import project_revenue_custom_report
|
||||
from . import project_consultant_custom_report
|
||||
from . import cor_project_report
|
||||
#from . import cor_project_report
|
||||
|
|
|
@ -115,8 +115,8 @@ class ProjectRevenueCustomReport(models.Model):
|
|||
((AAL.amount * -1)/NULLIF(AAL.unit_amount, 0)) as timesheet_cost,
|
||||
AAL.start_datetime AS timesheet_sdatetime
|
||||
FROM project_project PRO
|
||||
LEFT JOIN account_analytic_account AA ON PRO.analytic_account_id = AA.id
|
||||
LEFT JOIN account_analytic_line AAL ON AAL.account_id = AA.id and AAL.project_id = PRO.id
|
||||
RIGHT JOIN account_analytic_account AA ON PRO.analytic_account_id = AA.id
|
||||
RIGHT JOIN account_analytic_line AAL ON AAL.account_id = AA.id and AAL.project_id = PRO.id
|
||||
WHERE PRO.active = 't' and PRO.pricing_type = 'employee_rate' and PRO.project_type='hours_no_limit'
|
||||
UNION
|
||||
select
|
||||
|
|
|
@ -13,5 +13,4 @@ access_project_revenue_custom_report_manager,project_revenue_custom_report_manag
|
|||
access_project_revenue_custom_report_user,project_revenue_custom_report_user,model_project_revenue_custom_report,project.group_project_user,1,0,0,0
|
||||
access_project_consultant_custom_report_manager,project_consultant_custom_report_manager,model_project_consultant_custom_report,project.group_project_manager,1,1,1,1
|
||||
access_project_consultant_custom_report_user,project_consultant_custom_report_user,model_project_consultant_custom_report,project.group_project_user,1,0,0,0
|
||||
access_cor_project_report_manager,cor.project.report,model_cor_project_report,project.group_project_manager,1,1,1,1
|
||||
access_cor_project_report_user,cor.project.report,model_cor_project_report,project.group_project_user,1,0,0,0
|
||||
|
||||
|
|
|
Loading…
Reference in New Issue