diff options
| author | Simone Rubino <simone.rubino@agilebg.com> | 2018-05-18 11:17:59 +0200 |
|---|---|---|
| committer | len-odoo <35492570+len-odoo@users.noreply.github.com> | 2018-06-11 11:07:24 +0200 |
| commit | 56e8a4a82aeb8a72d8cf95114424bcb5f1396261 (patch) | |
| tree | b7985cd57cdefc70b324672bfe116ecc3ce756f8 | |
| parent | 5c03430d9f15bd344988a04ef6814adab9819ca5 (diff) | |
[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
| -rw-r--r-- | addons/website_project_issue/models/project_issue.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
