diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-03-16 16:11:12 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-03-16 16:11:12 +0100 |
| commit | 1a3e807fc2117a8d0be00e2ced9dbbae6f3589ba (patch) | |
| tree | 3cb1bab30b4aae3368febd4356aad67f29b04136 /addons/gamification/models | |
| parent | adddfa0d8b6f0b323c032409302b1b37d0b85601 (diff) | |
| parent | 5238b77430bf42589a8772d55d9ebd8dde8e9cf5 (diff) | |
[MERGE] forward port of branch saas-7 up to 5238b77
Diffstat (limited to 'addons/gamification/models')
| -rw-r--r-- | addons/gamification/models/challenge.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/models/challenge.py b/addons/gamification/models/challenge.py index 9662cccfe5e..1a5446247f9 100644 --- a/addons/gamification/models/challenge.py +++ b/addons/gamification/models/challenge.py @@ -259,7 +259,7 @@ class gamification_challenge(osv.Model): # close scheduled challenges planned_challenge_ids = self.search(cr, uid, [ ('state', '=', 'inprogress'), - ('end_date', '>=', fields.date.today())]) + ('end_date', '<', fields.date.today())]) if planned_challenge_ids: self.write(cr, uid, planned_challenge_ids, {'state': 'done'}, context=context) |
