Reminder for Goal Update ${object.user_id.lang} 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.

]]>
Simple Challenge Report Progress
% 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: = 100: style="font-weight:bold;" % endif > % 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'][1], line['goals'][0], line['goals'][2]] % 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}
% set path = object.env['res.users'].browse(goal['user_id']).partner_id.image_small ${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
${company.name}
${company.phone or ''}
% if company.email: ${company.email}
% endif % if company.website: ${company.website} % endif
]]>
Set your Timezone Configure your profile and specify your timezone count boolean [('id','=',user.id),('partner_id.tz', '!=', False)] 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 form 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)] Mail Group Following Follow mail.channels to receive news python result = env['mail.followers'].search_count([('res_model', '=', 'mail.channel'), ('partner_id', '=', object.user_id.partner_id.id)]) Complete your Profile once personal never inprogress other Setup your Company once personal never inprogress other 1 1 0 1