[IMP] description of module
bzr revid: mat@openerp.com-20130314150955-198nzh4546y5a292
This commit is contained in:
parent
c39be93667
commit
3dc9d61747
|
@ -24,7 +24,25 @@
|
|||
'author': 'OpenERP SA',
|
||||
'category': 'Human Resources',
|
||||
'depends': ['mail'],
|
||||
'description': """Gamification of goals""",
|
||||
'description': """
|
||||
Gamification process
|
||||
====================
|
||||
The Gamification module provide ways to evaluate and motivate the users of OpenERP.
|
||||
The two main functions are goals and badges.
|
||||
|
||||
Goals
|
||||
-----
|
||||
A **Goal** is an objective applied to an user with a numerical target to reach. It can have starting and end date. Users usually do not create goals but relies on goal plans.
|
||||
|
||||
A **Goal Type** is a generic objective that can be applied to any structure stored in the database and use numerical value. The creation of goal types is quite technical and should rarely be done. Once a generic goal is created, it can be associated to several goal plans with different numerical targets.
|
||||
|
||||
A **Goal Plan** is a a set of goal types with a target value to reach applied to a group of users. It can be periodic to create and evaluate easily the performances of a team.
|
||||
|
||||
Badges
|
||||
------
|
||||
A **Badge** is a symbolic token granted to a user as a sign of reward. It can be offered by a user to another or automatically offered when some conditions are met. The conditions can either be a list of goal types succeeded or a user definied python code executed.
|
||||
|
||||
""",
|
||||
|
||||
'data': [
|
||||
'plan_view.xml',
|
||||
|
|
|
@ -103,7 +103,6 @@
|
|||
<field name="stat_this_month"/>
|
||||
<field name="stat_my"/>
|
||||
<field name="stat_my_this_month"/>
|
||||
<field name="owner_ids"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
|
|
|
@ -35,7 +35,7 @@ def start_end_date_for_period(period):
|
|||
today = date.today()
|
||||
if period == 'daily':
|
||||
start_date = today
|
||||
end_date = start_date # ? + timedelta(days=1)
|
||||
end_date = start_date
|
||||
elif period == 'weekly':
|
||||
delta = timedelta(days=today.weekday())
|
||||
start_date = today - delta
|
||||
|
|
Loading…
Reference in New Issue