diff options
| author | Foram Shah <fsh@odoo.com> | 2016-06-08 17:53:22 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-06-14 16:23:50 +0200 |
| commit | 052dcd3ee8d48ffa1da0579a650065f3ff07e312 (patch) | |
| tree | e4fb2ecac7f545a8d2144d3e1a635bccb28053d7 /addons/website_rating_project_issue/controllers/main.py | |
| parent | 78b52fb637c0dbd68ca8089e048781a89e3efed5 (diff) | |
[IMP] web: 'Not Archived' becomes 'Active', 'Not published' becomes 'Unpublished'
Another reason why it’s better to change ‘not archived’ into ‘active’ is
because ‘active’ is the functional name of this field in the filter list in list view.
For the rest, it’s just a better en_US way of saying it.
Diffstat (limited to 'addons/website_rating_project_issue/controllers/main.py')
| -rw-r--r-- | addons/website_rating_project_issue/controllers/main.py | 2 |
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)]) |
