diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-27 18:10:37 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-27 18:10:37 +0200 |
| commit | 1dedb95c41734dbb6c0fe7c1fb04da2cc1a5ab18 (patch) | |
| tree | 6c7882cbb13ce15a83940fa955ea042a9bc3592d /addons | |
| parent | bd7543f4f76a5c960dba4c6adea21d57f94b6aaf (diff) | |
[FIX] calendar: correct field type
`display_start` was wrongly change to `Date` type during convertion to
new-api.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/calendar/models/calendar.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
