[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user