[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
This commit is contained in:
Simone Rubino
2018-06-11 11:07:24 +02:00
committed by len-odoo
parent 5c03430d9f
commit 56e8a4a82a
@@ -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