Christophe Simonis
2e3f59181d
[MERGE] forward port of branch saas-3 up to db75994
2014-10-14 15:13:14 +02:00
Denis Ledoux
f305b9e95b
[FIX] gamification: on delete badge user, cascade
...
Otherwise, this is no more possible to delete users having badges
2014-10-07 10:24:57 +02:00
Thibault Delavallée
7cad4baa84
[FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys.
...
Indeed using fromkeys with a list / dict as argument leads to the creation
of shared list / dict. This could create some ugly side effects when
used in loops. This commit fixes or cleans this kind of statement to avoid
unwanted side effects.
2014-09-18 11:18:30 +02:00
Martin Trigaux
e95aeb659c
Forward port of branch saas-5 up to 9a7f48a
2014-09-02 14:50:51 +02:00
Martin Trigaux
b707719891
[IMP] gamification: improve 40e8437
to make only one global request
2014-09-02 11:25:02 +02:00
Martin Trigaux
40e843761f
[FIX] gamification: performance improvement
...
On a large database, thousands of badges may have been granted. This code used to prefetch all fields of the users and badge users. This was highly inefficient. Replace this code by SQL query.
2014-09-01 17:40:47 +02:00
Jaydeep Barot
026e38b48f
[REM] Unnecessary `size` parameters on char fields
2014-06-25 17:13:43 +02:00
Martin Trigaux
f14f632ef5
[IMP] gamification: improve the name of some m2m relations
...
bzr revid: mat@openerp.com-20140512092718-s6143ajy2g18ofy4
2014-05-12 11:27:18 +02:00
Thibault Delavallée
d0740bedb9
[IMP] gamification: messages posted on user when receiving a badge
...
now have a subtype, to ease their search.
bzr revid: tde@openerp.com-20140411175730-hq06b7qezurzymj6
2014-04-11 19:57:30 +02:00
Thibault Delavallée
f091e9d6e5
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20140411155723-pqe8ofxh060afiuj
2014-04-11 17:57:23 +02:00
Martin Trigaux
21022c5472
[REF] gamification: add batch mode, improve some views, remove inprogess_update state (replaced with boolean 'to update')
...
bzr revid: mat@openerp.com-20140411142257-zpaul4sq3t5j5r64
2014-04-11 16:22:57 +02:00
Thibault Delavallée
70eb634173
[FIX] Fixe dlast commit: badge message is posted on the user
...
as before. Also updated code in mail/res_users that could big: partner_ids given
to message_post can be a list of commands, or a list of ids.
bzr revid: tde@openerp.com-20140409155003-32ccef4udlzfg5us
2014-04-09 17:50:03 +02:00
Thibault Delavallée
9b922d9858
[REVIEW] [CLEAN] gamification: reverted changes instead of
...
the fix.
bzr revid: tde@openerp.com-20140409152629-3div4vdfknjrtnb6
2014-04-09 17:26:29 +02:00
Turkesh Patel (Open ERP)
9bb6139cd2
[IMP] gamification: improved code to send notification message when bedge assigned, website_forum: improved code to show notification when badge assigned to user.
...
bzr revid: tpa@tinyerp.com-20140319090735-zi01wzh8a8u5cfb7
2014-03-19 14:37:35 +05:30
Martin Trigaux
7c6a6b26f1
[FIX] gamification: goal.condition -> goal.definition_condition, user_ids not in vals -> not vals.get(user_ids)
...
bzr revid: mat@openerp.com-20131223161229-lpoevttkt6ezt2ia
2013-12-23 17:12:29 +01:00
Martin Trigaux
f4e42879d3
[REF] gamification: rename user_from_id -> sender_id, move constants
...
bzr revid: mat@openerp.com-20131223160143-8mgmwrgf6i3wo8ku
2013-12-23 17:01:43 +01:00
Martin Trigaux
c0eef31160
[REF] gamification: add user_from_id on badge, remove outdated-doc, remove useless message_post call
...
bzr revid: mat@openerp.com-20131223155404-h4in4ocr8jakq3ff
2013-12-23 16:54:04 +01:00
Martin Trigaux
aec8f50b20
[IMP] gamification: use constances
...
bzr revid: mat@openerp.com-20131220150557-xaomxnrdb4bxcex3
2013-12-20 16:05:57 +01:00
Martin Trigaux
90dfa5895d
[FIX] gamification: send badge on user, fix function field
...
bzr revid: mat@openerp.com-20131218140333-nipcc21z5snhac1c
2013-12-18 15:03:33 +01:00
Martin Trigaux
938a07a361
[FIX] gamification: check grant badges are now sistematic except for superuser (always possible)
...
bzr revid: mat@openerp.com-20131218130039-y5vp0wt48ejd3jrh
2013-12-18 14:00:39 +01:00
Martin Trigaux
553e85f369
[FIX] gamification: move manifest order and remove useless browse
...
bzr revid: mat@openerp.com-20131218121459-zlfumwysdx9qm7d9
2013-12-18 13:14:59 +01:00
Martin Trigaux
b63950e0dc
[REF] gamification: mode to adequate folders
...
bzr revid: mat@openerp.com-20131218085907-6501sfdif2rk4a0b
2013-12-18 09:59:07 +01:00
Martin Trigaux
122c15c48d
[REF] gamification: pretty much changing half of the code to make tde happy...
...
bzr revid: mat@openerp.com-20131217161541-oxsgy7gmko2x6qui
2013-12-17 17:15:41 +01:00