From c73d9ff5629004f6776732ba77c021bd72478d95 Mon Sep 17 00:00:00 2001 From: Xavier ALT Date: Tue, 30 Oct 2012 20:38:23 +0100 Subject: [PATCH] [FIX] resource: fix stupid typo bzr revid: xal@openerp.com-20121030193823-m9fl6g3jia57w98t --- addons/resource/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/resource/resource.py b/addons/resource/resource.py index 254895b2068..4841add2727 100644 --- 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