summaryrefslogtreecommitdiff
path: root/addons/website_project_issue/models
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_project_issue/models')
-rw-r--r--addons/website_project_issue/models/project_issue.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/addons/website_project_issue/models/project_issue.py b/addons/website_project_issue/models/project_issue.py
index 90238037a6e..a3dd4170826 100644
--- a/addons/website_project_issue/models/project_issue.py
+++ b/addons/website_project_issue/models/project_issue.py
@@ -19,14 +19,3 @@ class Issue(models.Model):
'target': 'self',
'res_id': self.id,
}
-
- @api.multi
- def _notification_get_recipient_groups(self, message, recipients):
- """ Override to set the access button: everyone can see an access button
- on their notification email. It will lead on the website view of the
- post. """
- res = super(Issue, self)._notification_get_recipient_groups(message, recipients)
- access_action = self._notification_link_helper('view', model=message.model, res_id=message.res_id)
- for category, data in res.iteritems():
- res[category]['button_access'] = {'url': access_action, 'title': _('View Issue')}
- return res