[FIX] website_blog: don't copy visitor count of blogpost

This commit closes #22107 and closes #22111
This commit is contained in:
Yenthe V.G
2018-01-10 12:25:50 +01:00
committed by Jeremy Kersten
parent ad78f115c3
commit eeea6e8667
+1 -1
View File
@@ -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'),
}