summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-03-18 17:28:34 +0100
committerDenis Ledoux <dle@odoo.com>2016-03-18 17:33:35 +0100
commitecfbd3f9b7257eed9e99b1808b69e7b6b6cd25b5 (patch)
tree500f11257de98bc8f0409fcd0ab43a6d724c1489
parent31eb1438a1b594dac469843513b1f2e0325ea751 (diff)
[FIX] website_blog: old api call without `cr, uid, ids`
opw-672398
-rw-r--r--addons/website_blog/models/website_blog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_blog/models/website_blog.py b/addons/website_blog/models/website_blog.py
index d3d8569a3b1..91a35494b0e 100644
--- a/addons/website_blog/models/website_blog.py
+++ b/addons/website_blog/models/website_blog.py
@@ -262,7 +262,7 @@ class BlogPost(osv.Model):
on their notification email. It will lead on the website view of the
post. """
res = super(BlogPost, self)._notification_get_recipient_groups(cr, uid, ids, message, recipients, context=context)
- access_action = self._notification_link_helper('view', model=message.model, res_id=message.res_id)
+ access_action = self._notification_link_helper(cr, uid, ids, 'view', model=message.model, res_id=message.res_id)
for category, data in res.iteritems():
res[category]['button_access'] = {'url': access_action, 'title': _('View Blog Post')}
return res