summaryrefslogtreecommitdiff
path: root/addons/event
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-04-27 14:02:52 +0200
committerDenis Ledoux <dle@odoo.com>2015-04-27 14:02:52 +0200
commitcf4d14ce39ecff884d409aa9cd4baf268e90e00d (patch)
treeaedf86d5efabdcabcc49643ad3260c25caddb189 /addons/event
parent068071cf9ab707c12ae0e5ca24adae58f9a7b3ea (diff)
parent09b277c0087b43bb26e028daee6936785d1d5b2c (diff)
[MERGE] forward port of branch saas-3 up to 09b277c
Diffstat (limited to 'addons/event')
-rw-r--r--addons/event/event_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml
index 9433c0018e9..201f5568cc4 100644
--- a/addons/event/event_view.xml
+++ b/addons/event/event_view.xml
@@ -277,7 +277,7 @@
<separator/>
<filter string="My Events" help="My Events" domain="[('user_id','=',uid)]"/>
<separator/>
- <filter string="Upcoming" name="upcoming" domain="[('date_begin','&gt;=', time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Upcoming events from today" />
+ <filter string="Upcoming" name="upcoming" domain="[('date_begin','&gt;=', datetime.datetime.combine(context_today(), datetime.time(0,0,0)))]" help="Upcoming events from today" />
<field name="type"/>
<field name="user_id"/>
<group expand="0" string="Group By">