[ADD] gamification: add remind and last update value

bzr revid: mat@openerp.com-20130219165215-kscj3kpld3h8rz41
This commit is contained in:
Martin Trigaux 2013-02-19 17:52:15 +01:00
parent d3750e5a8a
commit 6313de4dc8
2 changed files with 5 additions and 0 deletions

View File

@ -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 = {

View File

@ -74,6 +74,7 @@
<field name="report_message_frequency"/>
<field name="report_message_group_id"/>
<field name="report_header"/>
<field name="remind_update_delays"/>
</group>
</group>