From 7151c117e4f12eac2b6ef664646888059ce15875 Mon Sep 17 00:00:00 2001 From: "Thomas Lefebvre (thle)" Date: Mon, 27 Mar 2023 09:02:15 +0000 Subject: [PATCH] [FIX] calendar: correct description of 'free' option On a calendar event, the 'free' option does not hide the element. So that the user doesn't expect this behavior, you have to modify its description. opw-3047999 closes odoo/odoo#117654 X-original-commit: ecc850f4df1151a793d36fdd58621665a6e1a414 Signed-off-by: Arnaud Joset Signed-off-by: Lefebvre Thomas (thle) --- addons/calendar/i18n/calendar.pot | 2 +- addons/calendar/models/calendar_event.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/calendar/i18n/calendar.pot b/addons/calendar/i18n/calendar.pot index 651675c7dce..370cb76af19 100644 --- a/addons/calendar/i18n/calendar.pot +++ b/addons/calendar/i18n/calendar.pot @@ -1237,7 +1237,7 @@ msgstr "" #: model:ir.model.fields,help:calendar.field_calendar_event__show_as msgid "" "If the time is shown as 'busy', this event will be visible to other people with either the full information or simply 'busy' written depending on its privacy. Use this option to let other people know that you are unavailable during that period of time. \n" -" If the time is shown as 'free', this event won't be visible to other people at all. Use this option to let other people know that you are available during that period of time." +" If the event is shown as 'free', other users know that you are available during that period of time." msgstr "" #. module: calendar diff --git a/addons/calendar/models/calendar_event.py b/addons/calendar/models/calendar_event.py index d920137426b..326f10c46da 100644 --- a/addons/calendar/models/calendar_event.py +++ b/addons/calendar/models/calendar_event.py @@ -119,9 +119,8 @@ class Meeting(models.Model): ('busy', 'Busy')], 'Show as', default='busy', required=True, help="If the time is shown as 'busy', this event will be visible to other people with either the full \ information or simply 'busy' written depending on its privacy. Use this option to let other people know \ - that you are unavailable during that period of time. \n If the time is shown as 'free', this event won't \ - be visible to other people at all. Use this option to let other people know that you are available during \ - that period of time.") + that you are unavailable during that period of time. \n If the event is shown as 'free', other users know \ + that you are available during that period of time.") is_highlighted = fields.Boolean( compute='_compute_is_highlighted', string='Is the Event Highlighted') is_organizer_alone = fields.Boolean(compute='_compute_is_organizer_alone', string="Is the Organizer Alone",