[FIX]: caldav: Fixed problem of time checking type in get eprop

bzr revid: rpa@tinyerp.com-20100422134048-wqd88o1924lovuxg
This commit is contained in:
rpa (Open ERP)
2010-04-22 19:10:48 +05:30
parent e246a6bfe0
commit 7b2b72b2f4
+1 -1
View File
@@ -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)