[FIX] website_forum: temporary fix to enable the counter

computation at creation.

bzr revid: tde@openerp.com-20140411153724-8x7o0o774uf5g2x2
This commit is contained in:
Thibault Delavallée 2014-04-11 17:37:24 +02:00
parent f3bb1036f6
commit 68cb0dca6f
1 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,9 @@ class Post(osv.Model):
'state': 'active',
'views': 0,
'active': True,
'vote_ids': list(),
'favourite_ids': list(),
'child_ids': list(),
}
def create(self, cr, uid, vals, context=None):