From 1dedb95c41734dbb6c0fe7c1fb04da2cc1a5ab18 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 27 Sep 2016 18:10:37 +0200 Subject: [PATCH] [FIX] calendar: correct field type `display_start` was wrongly change to `Date` type during convertion to new-api. --- addons/calendar/models/calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/calendar/models/calendar.py b/addons/calendar/models/calendar.py index d9dfc5a41a0..315f2f5d411 100644 --- a/addons/calendar/models/calendar.py +++ b/addons/calendar/models/calendar.py @@ -654,7 +654,7 @@ class Meeting(models.Model): is_attendee = fields.Boolean('Attendee', compute='_compute_attendee') attendee_status = fields.Selection(Attendee.STATE_SELECTION, string='Attendee Status', compute='_compute_attendee') display_time = fields.Char('Event Time', compute='_compute_display_time') - display_start = fields.Date('Date', compute='_compute_display_start', store=True) + display_start = fields.Char('Date', compute='_compute_display_start', store=True) start = fields.Datetime('Start', required=True, help="Start date of an event, without time for full days events") stop = fields.Datetime('Stop', required=True, help="Stop date of an event, without time for full days events")