[FIX] hr_timesheet : Reports Corrected

bzr revid: ach@tinyerp.com-20100923132454-ms7s6fnonf1hw590
This commit is contained in:
DHS(OpenERP) 2010-09-23 18:54:54 +05:30 committed by Anup (OpenERP)
parent c3de35eb8d
commit debb9fac86
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class report_custom(report_rml):
<amount>%.2f</amount>
</time-element>
'''
rpt_obj = pooler.get_pool(cr.dbname).get('hr.holidays')
rpt_obj = pooler.get_pool(cr.dbname).get('hr.employee')
rml_obj=report_sxw.rml_parse(cr, uid, rpt_obj._name,context)
header_xml = '''
<header>

View File

@ -97,7 +97,7 @@ class report_custom(report_rml):
# Computing the xml
#Without this, report don't show non-ascii characters (TO CHECK)
date_xml = '\n'.join(date_xml)
rpt_obj = pooler.get_pool(cr.dbname).get('hr.holidays')
rpt_obj = pooler.get_pool(cr.dbname).get('hr.employee')
rml_obj=report_sxw.rml_parse(cr, uid, rpt_obj._name,context)
header_xml = '''
<header>