HR_TIMESHEET: add rounding on report

bzr revid: ced-34ebab8e03cc0a1de06b656d2717b2005cc6e007
This commit is contained in:
ced 2007-02-15 09:56:05 +00:00
parent 46532c2cbc
commit 84a75ad1e0
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ class report_custom(report_rml):
xml = '''
<time-element date="%s">
<amount>%s</amount>
<amount>%.2f</amount>
</time-element>
'''
account_xml = []

View File

@ -56,7 +56,7 @@ def emp_create_xml(cr, id, som, eom):
xml = '''
<time-element date="%s">
<amount>%s</amount>
<amount>%.2f</amount>
</time-element>
'''
time_xml = ([xml % (day, amount) for day, amount in month.iteritems()])