[FIX] start also past goal plans

bzr revid: mat@openerp.com-20130402095918-h1ss3infbj4vpqxs
This commit is contained in:
Martin Trigaux 2013-04-02 11:59:18 +02:00
parent fc43fd390b
commit 060296a0b2
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class gamification_goal_plan(osv.Model):
# start planned plans
planned_plan_ids = self.search(cr, uid, [
('state', '=', 'draft'),
('start_date', '=', fields.date.today())])
('start_date', '<=', fields.date.today())])
self.action_start(cr, uid, planned_plan_ids, context=context)
if not ids: