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:
45ca6f1
)
[FIX] resource: fix stupid typo
author
Xavier ALT
<xal@openerp.com>
Tue, 30 Oct 2012 19:38:23 +0000
(20:38 +0100)
committer
Xavier ALT
<xal@openerp.com>
Tue, 30 Oct 2012 19:38:23 +0000
(20:38 +0100)
bzr revid: xal@openerp.com-
20121030193823
-m9fl6g3jia57w98t
addons/resource/resource.py
patch
|
blob
|
history
diff --git
a/addons/resource/resource.py
b/addons/resource/resource.py
index
254895b
..
4841add
100644
(file)
--- a/
addons/resource/resource.py
+++ b/
addons/resource/resource.py
@@
-215,7
+215,7
@@
class resource_calendar(osv.osv):
"""
if not id:
return 0.0
- return self._internal_hours_get(cr, uid, id, dt_from, dt_to, resource_id=resource)
+ return self._interval_hours_get(cr, uid, id, dt_from, dt_to, resource_id=resource)
def _interval_hours_get(self, cr, uid, id, dt_from, dt_to, resource_id=False, timezone_from_uid=None, exclude_leaves=True, context=None):
""" Calculates the Total Working hours based on given start_date to