diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2020-04-20 09:56:06 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2020-04-20 10:14:24 +0000 |
| commit | a65b17659c5bd3d672c524e39a40022a2280beab (patch) | |
| tree | 744f92a1aa4b1bcd8b87100e6aab5d22590eaf9b /addons | |
| parent | e3af2ea39cb16ab9f1168179e39b9460abc14ad6 (diff) | |
[FIX] calendar: Remove duplicated timezone field definition
The field `event_tz` is defined twice.
closes odoo/odoo#49778
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/calendar/models/calendar_event.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/calendar/models/calendar_event.py b/addons/calendar/models/calendar_event.py index d2869e675e5..5f42dae6576 100644 --- a/addons/calendar/models/calendar_event.py +++ b/addons/calendar/models/calendar_event.py @@ -196,9 +196,6 @@ class Meeting(models.Model): stop_date = fields.Date( 'End Date', store=True, tracking=True, compute='_compute_dates', inverse='_inverse_dates') - event_tz = fields.Selection( - '_event_tz_get', string='Timezone', - default=lambda self: self.env.context.get('tz') or self.user_id.tz) duration = fields.Float('Duration', compute='_compute_duration', store=True, readonly=False) description = fields.Text('Description') privacy = fields.Selection( |
