diff --git a/addons/gamification/goal.py b/addons/gamification/goal.py
index 62c3f71410c..c6f8f32799e 100644
--- a/addons/gamification/goal.py
+++ b/addons/gamification/goal.py
@@ -89,13 +89,13 @@ class gamification_goal_type(osv.Model):
- 'Count' for the number of entries\n
- 'Manually' for user defined values""",
required=True),
- 'object': fields.many2one('ir.model',
- string='Object',
- help='The object type for the field to evaluate' ),
- 'field': fields.many2one('ir.model.fields',
+ 'model_id': fields.many2one('ir.model',
+ string='Modeel',
+ help='The model object for the field to evaluate' ),
+ 'field_id': fields.many2one('ir.model.fields',
string='Evaluated Field',
help='The field containing the value to evaluate' ),
- 'field_date': fields.many2one('ir.model.fields',
+ 'field_date_id': fields.many2one('ir.model.fields',
string='Evaluated Date Field',
help='The date to use for the time period evaluated'),
'domain': fields.char("Domain",
diff --git a/addons/gamification/view/type.xml b/addons/gamification/view/type.xml
index c95c72998c5..8c3ec05f7f1 100644
--- a/addons/gamification/view/type.xml
+++ b/addons/gamification/view/type.xml
@@ -16,8 +16,6 @@
-
-
@@ -42,10 +40,12 @@
-
-
-
-
+
+
+
+
+
+
@@ -59,7 +59,7 @@
-
+