[FIX] relation for related field

bzr revid: mat@openerp.com-20130312143451-41fi98xgw4bmikdq
This commit is contained in:
Martin Trigaux 2013-03-12 15:34:51 +01:00
parent 226343cf63
commit 3c9694de45
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,6 @@ class gamification_goal_type(osv.Model):
}
class gamification_goal(osv.Model):
"""Goal instance for a user
@ -127,6 +126,7 @@ class gamification_goal(osv.Model):
'plan_id': fields.related('planline_id', 'plan_id',
string="Plan",
type='many2one',
relation='gamification.goal.plan',
store=True),
'start_date': fields.date('Start Date'),
'end_date': fields.date('End Date'), # no start and end = always active