[FIX] correct reports

bzr revid: mat@openerp.com-20130405153006-b7v03x8s4lbucto3
This commit is contained in:
Martin Trigaux
2013-04-05 17:30:06 +02:00
parent 6b13688022
commit 9ae0fc2f38
@@ -4,7 +4,7 @@
% for planline in planlines_boards:
<table width="100%" border="1">
<tr>
<th colspan="4">${planline['goal_type']}</th>
<th colspan="4">${planline.goal_type.name}</th>
</tr>
<tr>
<th>#</th>
@@ -12,14 +12,14 @@
<th>Completeness</th>
<th>Current</th>
</tr>
% for idx, goal in planline['board_goals']:
% for idx, goal in planline.board_goals:
<tr
% if goal.completeness >= 100:
style="font-weight:bold;"
% endif
>
<td>${idx+1}</td>
<td>${goal.user.name}</td>
<td>${goal.user_id.name}</td>
<td>${goal.completeness}%</td>
<td>${goal.current}/${goal.target_goal}</td>
</tr>