diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-03-16 15:21:06 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-03-16 15:30:03 +0100 |
| commit | a34d49606956d1ad12a86c928eefe1468a512866 (patch) | |
| tree | 863c6e8e4b9f3ede0764c451bb18ef2fad08f7c8 /addons/gamification/models | |
| parent | 0ec5456e633ada5b55ef4d711a2cd3073391ef9d (diff) | |
| parent | 1431ba2f9b1c58d3b33ae69bc6d81864f885b666 (diff) | |
[MERGE] forward port of branch saas-6 up to 1431ba2
Also include 2939800ed438505be9c919d4edca0ce624e6bf8e which seems to
have been forgotten during previous forward-ports
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 f05f2ea3a65..31bab8ba343 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) |
