diff --git a/addons/gamification/goal.py b/addons/gamification/goal.py
index 8fb9c4d7091..bc0057a6613 100644
--- a/addons/gamification/goal.py
+++ b/addons/gamification/goal.py
@@ -161,6 +161,8 @@ class gamification_goal(osv.Model):
string='State',
required=True,
track_visibility = 'always'),
+ 'last_update' : fields.date('Last Update',
+ help="In case of manual goal, reminders are sent if the goal as not been updated for a while (defined in goal plan). Ignored in case of non-manual goal or goal not linked to a plan."), #
}
_defaults = {
@@ -225,6 +227,8 @@ class gamification_goal_plan(osv.Model):
string='Report to',
help='Group that will receive the report in addition to the user'),
'report_header' : fields.text('Report Header'),
+ 'remind_update_delays' : fields.integer('Remind delays',
+ help="The number of days after which the user assigned to a manual goal will be reminded. Never reminded if no value is specified.")
}
_defaults = {
diff --git a/addons/gamification/view/plan.xml b/addons/gamification/view/plan.xml
index 109b8ef3319..123513fe9f6 100644
--- a/addons/gamification/view/plan.xml
+++ b/addons/gamification/view/plan.xml
@@ -74,6 +74,7 @@
+