From 2a13a4088b82f36085584ef62faaa94958ff3ab6 Mon Sep 17 00:00:00 2001 From: pedrambiria Date: Fri, 28 Jan 2022 15:06:29 +0000 Subject: [PATCH] [FIX] microsoft_calendar: add 'none' state to attendee state convertor Before this commit, the 'none' state was not considered as a possible attendee state for the microsoft, and it created an empty field in Odoo. This commit maps the 'none' state to the 'needsAction', based on the microsoft documentation. opw-2694644 closes odoo/odoo#85367 X-original-commit: 1fbd14728980bfabc466efeb437f9f7ce105dfac Signed-off-by: Arnaud Joset Signed-off-by: Yannick Tivisse (yti) --- addons/microsoft_calendar/models/calendar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/microsoft_calendar/models/calendar.py b/addons/microsoft_calendar/models/calendar.py index 641c4135bc0..925eb23434a 100644 --- a/addons/microsoft_calendar/models/calendar.py +++ b/addons/microsoft_calendar/models/calendar.py @@ -16,6 +16,7 @@ ATTENDEE_CONVERTER_O2M = { 'accepted': 'accepted' } ATTENDEE_CONVERTER_M2O = { + 'none': 'needsAction', 'notResponded': 'needsAction', 'tentativelyAccepted': 'tentative', 'declined': 'declined',