From ab448abdc6a0ea6d540ebe3f8adfd62d4c14c646 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 21 Dec 2015 14:38:24 +0100 Subject: [PATCH] [IMP] gamification: remove unused field --- addons/gamification/models/goal.py | 4 ---- 1 file changed, 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'),