From ecfbd3f9b7257eed9e99b1808b69e7b6b6cd25b5 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 18 Mar 2016 17:28:34 +0100 Subject: [PATCH] [FIX] website_blog: old api call without `cr, uid, ids` opw-672398 --- addons/website_blog/models/website_blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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