Goal: Reminder for Goal Update ${object.user_id.partner_id.id}
Reminder ${object.name}
You have not updated your progress for the goal ${object.definition_id.name} (currently reached at ${object.completeness}%) for at least ${object.remind_update_delay} days. Do not forget to do it.

Thank you, % if object.challenge_id.manager_id.signature:
${object.challenge_id.manager_id.signature | safe} % endif
${object.user_id.lang}
Challenge: Simple Challenge Report Progress
% set record = ctx.get('record') % set company = record and record.company_id or user.company_id % set challenge_lines = ctx.get('challenge_lines', [])
% if object.visibility_mode == 'ranking':
% endif

Leaderboard

% if object.visibility_mode == 'personal': Here is your current progress in the challenge ${object.name}.
Personal Performance
% for line in challenge_lines: % endfor
Goals Target Current Completeness
${line['name']} % if line['suffix'] or line['monetary']: (${line['full_suffix']}) % endif ${"%.2f" % line['target']} % if line['suffix']: ${line['suffix']} % endif ${"%.2f" % line['current']} % if line['suffix']: ${line['suffix']} % endif ${line['completeness']| int}%
% else: Challenge: ${object.name}. % for line in challenge_lines:
Top Achievers for goal ${line['name']}
% if len(line['goals']) == 2:
% set top_goals = line['goals'][:3] % for goal in top_goals: % endfor
% if loop.index == 1: % set extra_div = '
' % set heightA = 95 % set heightB = 75 % set bgColor = '#b898b0' % set fontSize = 50 % set podiumPosition = '2' % elif loop.index == 2: % set extra_div = '' % set heightA = 55 % set heightB = 115 % set bgColor = '#9A6C8E' % set fontSize = 85 % set podiumPosition = '1' % elif loop.index == 3: % set extra_div = '
' % set heightA = 115 % set heightB = 55 % set bgColor = '#c8afc1' % set fontSize = 35 % set podiumPosition = '3' % endif
${extra_div | safe}
${goal['name']}
${goal['name']}
${podiumPosition | safe}
${"%.2f" % goal['current']} % if line['suffix'] or line['monetary']: ${line['full_suffix']} % endif
% endif
% for goal in line['goals']: % set tdBgColor = '#fff' % set tdColor = 'gray' % set mutedColor = '#AAAAAA' % set tdPercentageColor = '#9A6C8E' % endfor
Rank Name Performance % if line['suffix']: (${line['suffix']}) % elif line['monetary']: (${company.currency_id.symbol}) % endif Completeness
${goal['rank']+1} ${goal['name']} ${"%.2f" % goal['current']}
on ${"%.2f" % line['target']}
${goal['completeness'] | int}%
% endfor % endif
Set your Timezone Configure your profile and specify your timezone count boolean [('partner_id.tz', '!=', False)] user.id True user.id Set your Company Data Write some information about your company (specify at least a name) count boolean [('user_ids', 'in', [user.id]), ('name', '=', 'YourCompany')] lower user.company_id.id Create User ir.actions.act_window res.users current {} Create and manage users that will connect to the system. Users can be deactivated should there be a period of time during which they will/should not connect to the system. You can assign them groups in order to give them specific access to the applications they need to use in the system. Invite new Users Create at least another user boolean count [('id', '!=', user.id)] Complete your Profile once personal never inprogress other Setup your Company once personal never inprogress other 1 1 0 1