From 7b2b72b2f47865f7c9d0a40d79fefe0a9727bef5 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Thu, 22 Apr 2010 19:10:48 +0530 Subject: [PATCH] [FIX]: caldav: Fixed problem of time checking type in get eprop bzr revid: rpa@tinyerp.com-20100422134048-wqd88o1924lovuxg --- addons/caldav/caldav_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/caldav/caldav_node.py b/addons/caldav/caldav_node.py index e8887e12b56..22adfdb60c4 100644 --- a/addons/caldav/caldav_node.py +++ b/addons/caldav/caldav_node.py @@ -176,7 +176,7 @@ class node_calendar(nodes.node_class): model = model_obj.browse(cr, uid, res_id, context=ctx) write_time = model.write_date or model.create_date wtime = time.mktime(time.strptime(write_time,'%Y-%m-%d %H:%M:%S')) - if dav_time <= wtime: + if float(dav_time) == float(wtime): return True return False res = super(node_calendar, self).match_dav_eprop(cr, match, ns, prop)