[REF] gamification: performance improvements when running with a large number of...
authorMartin Trigaux <mat@openerp.com>
Tue, 6 May 2014 14:56:23 +0000 (16:56 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 6 May 2014 14:56:23 +0000 (16:56 +0200)
commit3cf7488b45d3c5e2ebc5af39309ef4a007fdf471
treefc248cb928d260f959adef7fcc32dc315b22cf27
parentfbbefe43c037f8b083ba47486ea256eb7cdbcb15
parent3fa27518556355c108e8a47b66b3475e22430956
[REF] gamification: performance improvements when running with a large number of users

- gamification.goal do not depends of mail.thread anymore (message posting and fields tracking was slow)
- check reward works in batch mode
- fix update method that did not reset variable in loop
- when the cron is running commit after each goal definition update

bzr revid: mat@openerp.com-20140506145623-476s3q3vxoybya77