[IMP] hr_attendance: add 'Total' label in another row in report

bzr revid: cha@tinyerp.com-20121029090235-ltcg4rmgu8jrnt9d
This commit is contained in:
Ajay Chauhan (OpenERP) 2012-10-29 14:32:35 +05:30
parent 6cfffae349
commit 4288a65ccf
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class report_custom(report_rml):
cell=cell+x
width_dict[j]=x
day_diff1=day_diff1-x
date_xml += ['<dayy number="Total" cell="Total"/>']
date_xml += ['<dayy name="Total" cell="Total"/>']
date_xml.append('</days>')
date_xml.append('<cols>3.5cm%s,1.2cm</cols>\n' % (',0.74cm' * (int(dy))))
xml = '''<?xml version="1.0" encoding="UTF-8" ?>