summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpa (Open ERP) <rpa@tinyerp.com>2010-04-22 19:10:48 +0530
committerrpa (Open ERP) <rpa@tinyerp.com>2010-04-22 19:10:48 +0530
commit7b2b72b2f47865f7c9d0a40d79fefe0a9727bef5 (patch)
treea8eeb0afd122fb6f848489030aede3703e778071
parente246a6bfe0e89f5c45cca17292837f3e520fa2c9 (diff)
[FIX]: caldav: Fixed problem of time checking type in get eprop
bzr revid: rpa@tinyerp.com-20100422134048-wqd88o1924lovuxg
-rw-r--r--addons/caldav/caldav_node.py2
1 files changed, 1 insertions, 1 deletions
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)