[FIX] website_blog: read field from browserecord
This commit is contained in:
@@ -254,7 +254,7 @@ class BlogPost(osv.Model):
|
|||||||
'type': 'ir.actions.act_url',
|
'type': 'ir.actions.act_url',
|
||||||
'url': '/blog/%s/post/%s' % (post.blog_id.id, post.id),
|
'url': '/blog/%s/post/%s' % (post.blog_id.id, post.id),
|
||||||
'target': 'self',
|
'target': 'self',
|
||||||
'res_id': self.id,
|
'res_id': post.id,
|
||||||
}
|
}
|
||||||
|
|
||||||
def _notification_get_recipient_groups(self, cr, uid, ids, message, recipients, context=None):
|
def _notification_get_recipient_groups(self, cr, uid, ids, message, recipients, context=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user