From f0ddecdb8fc2d11f3a751095d69360e090d7558f Mon Sep 17 00:00:00 2001 From: Jigar Amin - OpenERP Date: Tue, 29 Nov 2011 10:25:59 +0530 Subject: [PATCH] [FIX] Removed the fuction def prototype of check_availability in resource_resource bzr revid: jam@tinyerp.com-20111129045559-31vm4mzvmvkwnak5 --- addons/resource/resource.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/addons/resource/resource.py b/addons/resource/resource.py index bd62c449d2b..59844da4c36 100644 --- a/addons/resource/resource.py +++ b/addons/resource/resource.py @@ -366,13 +366,6 @@ class resource_resource(osv.osv): wktime_cal.append((non_working[:-1], time_range)) return wktime_cal - #TODO: Write optimized alogrothem for resource availability. : Method Yet not implemented - def check_availability(self, cr, uid, ids, start, end, context=None): - if context == None: - contex = {} - allocation = {} - return allocation - resource_resource() class resource_calendar_leaves(osv.osv):