[FIX] hr_timesheet : Reports Corrected
bzr revid: ach@tinyerp.com-20100923132454-ms7s6fnonf1hw590
This commit is contained in:
parent
c3de35eb8d
commit
debb9fac86
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue