summaryrefslogtreecommitdiff
path: root/addons/gamification/models
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2015-12-21 14:38:24 +0100
committerMartin Trigaux <mat@odoo.com>2015-12-21 14:38:24 +0100
commitab448abdc6a0ea6d540ebe3f8adfd62d4c14c646 (patch)
tree46674710a1fe9332474ffd0494dcbf7847fcd1e1 /addons/gamification/models
parentf5cfe04398009a4c2826b2794d5ea9ec940b9ea8 (diff)
[IMP] gamification: remove unused field
Diffstat (limited to 'addons/gamification/models')
-rw-r--r--addons/gamification/models/goal.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/gamification/models/goal.py b/addons/gamification/models/goal.py
index af4208809ac..1596804a34a 100644
--- a/addons/gamification/models/goal.py
+++ b/addons/gamification/models/goal.py
@@ -64,10 +64,6 @@ class gamification_goal_definition(osv.Model):
'model_id': fields.many2one('ir.model',
string='Model',
help='The model object for the field to evaluate'),
- # model_inherited_model_ids can be removed in master.
- # It was only used to force a domain in the form view which is now set by `on_change_model_id`
- 'model_inherited_model_ids': fields.related('model_id', 'inherited_model_ids', type="many2many", obj="ir.model",
- string="Inherited models", readonly="True"),
'field_id': fields.many2one('ir.model.fields',
string='Field to Sum',
help='The field containing the value to evaluate'),