[IMP] hr_attendance: made lines visible even if employee is absent for whole week
bzr revid: cha@tinyerp.com-20121030064707-m12g44n2i9q8eun0
This commit is contained in:
parent
3894874ebb
commit
4f555e059f
|
@ -109,8 +109,7 @@ class report_custom(report_rml):
|
|||
week_repr.append('<worked>%sh%02d</worked>' % to_hour(reduce(lambda x,y:x+y, week_wh.values(), 0)))
|
||||
week_repr.append('</total>')
|
||||
week_repr.append('</week>')
|
||||
if len(week_repr) > 21: # 21 = minimal length of week_repr
|
||||
week_xml.append('\n'.join(week_repr))
|
||||
week_xml.append('\n'.join(week_repr))
|
||||
|
||||
monday, n_monday = n_monday, n_monday + one_week
|
||||
user_xml.append(user_repr % '\n'.join(week_xml))
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<td>Fri</td>
|
||||
<td>Sat</td>
|
||||
<td>Sun</td>
|
||||
<td>Tot</td>
|
||||
<td>Total</td>
|
||||
</tr>
|
||||
<xsl:for-each select="week">
|
||||
<tr></tr>
|
||||
|
|
Loading…
Reference in New Issue