[FIX] website_blog: don't copy visitor count of blogpost
This commit closes #22107 and closes #22111
This commit is contained in:
committed by
Jeremy Kersten
parent
ad78f115c3
commit
eeea6e8667
@@ -133,7 +133,7 @@ class BlogPost(osv.Model):
|
||||
'author_avatar': fields.related(
|
||||
'author_id', 'image_small',
|
||||
string="Avatar", type="binary"),
|
||||
'visits': fields.integer('No of Views'),
|
||||
'visits': fields.integer('No of Views', copy=False),
|
||||
'ranking': fields.function(_compute_ranking, string='Ranking', type='float'),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user