[IMP] gamification: performance improvement on the goal computation
authorMartin Trigaux <mat@openerp.com>
Tue, 6 May 2014 09:37:16 +0000 (11:37 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 6 May 2014 09:37:16 +0000 (11:37 +0200)
commitbde55baaa92da0565f654b99dd614ead7faea1c7
tree9b013d8385729a0fb73b124236d95842592f0f20
parentae6a0fcb735a9b75f9c379377ecb5346297be66d
[IMP] gamification: performance improvement on the goal computation

Removing the inheritance to mail.thread will avoid posting message at creation and other tracking mechanism at each write. Updating a challenge with a large number of users will be significantly faster.

bzr revid: mat@openerp.com-20140506093716-xvpe1n2ase2zix0v
addons/gamification/models/challenge.py
addons/gamification/models/goal.py
addons/gamification/views/goal.xml