summaryrefslogtreecommitdiff
path: root/addons/website_rating_project_issue/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_rating_project_issue/controllers/main.py')
-rw-r--r--addons/website_rating_project_issue/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_rating_project_issue/controllers/main.py b/addons/website_rating_project_issue/controllers/main.py
index b0dfba4e42c..9d1bbb58d61 100644
--- a/addons/website_rating_project_issue/controllers/main.py
+++ b/addons/website_rating_project_issue/controllers/main.py
@@ -20,7 +20,7 @@ class WebsiteRatingProject(http.Controller):
user = request.env.user
project = request.env['project.project'].sudo().browse(project_id)
# to avoid giving any access rights on projects to the public user, let's use sudo
- # and check if the user should be able to view the project (project managers only if it's not published or has no rating)
+ # and check if the user should be able to view the project (project managers only if it's unpublished or has no rating)
if not (project.is_visible_happy_customer and project.website_published) and not user.sudo(user).has_group('project.group_project_manager'):
raise NotFound()
issues = request.env['project.issue'].sudo().search([('project_id', '=', project.id)])