projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d536112
)
[FIX] hr_timesheet_sheet : Rounding value problem in float_time widget
author
ACH(OpenERP)
<>
Fri, 11 Sep 2009 14:22:57 +0000
(19:52 +0530)
committer
Jay (Open ERP)
<jvo@tinyerp.com>
Fri, 11 Sep 2009 14:22:57 +0000
(19:52 +0530)
lp bug: https://launchpad.net/bugs/424177 fixed
bzr revid: jvo@tinyerp.com-
20090911142257
-s8prbnz3lgymqsvu
addons/hr_timesheet_sheet/hr_timesheet_sheet.py
patch
|
blob
|
history
diff --git
a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py
b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py
index
9d8bdb1
..
3fbf615
100644
(file)
--- a/
addons/hr_timesheet_sheet/hr_timesheet_sheet.py
+++ b/
addons/hr_timesheet_sheet/hr_timesheet_sheet.py
@@
-576,7
+576,7
@@
class hr_timesheet_sheet_sheet_day(osv.osv):
sheet_id,
total_timesheet,
total_attendance,
- (total_attendance - total_timesheet) AS total_difference
+ round(cast((total_attendance - total_timesheet) as Numeric),2) AS total_difference
FROM
((
SELECT