summaryrefslogtreecommitdiff
path: root/addons/gamification/models/goal.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/gamification/models/goal.py')
-rw-r--r--addons/gamification/models/goal.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/gamification/models/goal.py b/addons/gamification/models/goal.py
index 8792e219d71..8e79c43c8a6 100644
--- a/addons/gamification/models/goal.py
+++ b/addons/gamification/models/goal.py
@@ -163,7 +163,8 @@ class gamification_goal(osv.Model):
string="Challenge",
type='many2one',
relation='gamification.challenge',
- store=True),
+ store=True, readonly=True,
+ help="Challenge that generated the goal, assign challenge to users to generate goals with a value in this field."),
'start_date': fields.date('Start Date'),
'end_date': fields.date('End Date'), # no start and end = always active
'target_goal': fields.float('To Reach',