[FIX] website_blog: read field from browserecord

This commit is contained in:
Christophe Simonis
2016-08-25 16:28:11 +02:00
parent 0a02325cd7
commit c578fb792c
+1 -1
View File
@@ -254,7 +254,7 @@ class BlogPost(osv.Model):
'type': 'ir.actions.act_url',
'url': '/blog/%s/post/%s' % (post.blog_id.id, post.id),
'target': 'self',
'res_id': self.id,
'res_id': post.id,
}
def _notification_get_recipient_groups(self, cr, uid, ids, message, recipients, context=None):