From 56e8a4a82aeb8a72d8cf95114424bcb5f1396261 Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Fri, 18 May 2018 11:17:59 +0200 Subject: [PATCH] [FIX] website_project_issue: put 'view task' button in email to portal users Commit https://github.com/odoo/odoo/commit/9e981f6535cc7d8e46bc53ebd279b377c805e6a2 removed the 'view task' button for the groups 'customer' and 'portal'. Since this button works fine for portal users, we put it back for them. opw 1849770 --- addons/website_project_issue/models/project_issue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_project_issue/models/project_issue.py b/addons/website_project_issue/models/project_issue.py index 612a9b6e138..8a165ef2527 100644 --- a/addons/website_project_issue/models/project_issue.py +++ b/addons/website_project_issue/models/project_issue.py @@ -36,7 +36,7 @@ class Issue(models.Model): groups = super(Issue, self)._notification_recipients(message, groups) for group_name, group_method, group_data in groups: - if group_name in ["customer", "portal"]: + if group_name == 'customer': continue group_data['has_button_access'] = True