[FIX] resource: fix stupid typo

bzr revid: xal@openerp.com-20121030193823-m9fl6g3jia57w98t
This commit is contained in:
Xavier ALT
2012-10-30 20:38:23 +01:00
parent 45ca6f1773
commit c73d9ff562
+1 -1
View File
@@ -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