HR_TIMESHEET: add rounding on report
bzr revid: ced-34ebab8e03cc0a1de06b656d2717b2005cc6e007
This commit is contained in:
parent
46532c2cbc
commit
84a75ad1e0
|
@ -70,7 +70,7 @@ class report_custom(report_rml):
|
|||
|
||||
xml = '''
|
||||
<time-element date="%s">
|
||||
<amount>%s</amount>
|
||||
<amount>%.2f</amount>
|
||||
</time-element>
|
||||
'''
|
||||
account_xml = []
|
||||
|
|
|
@ -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()])
|
||||
|
|
Loading…
Reference in New Issue