[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 <arj@odoo.com>
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
pedrambiria
2022-02-28 12:55:59 +00:00
parent cf8cc3b47f
commit 2a13a4088b
@@ -16,6 +16,7 @@ ATTENDEE_CONVERTER_O2M = {
'accepted': 'accepted'
}
ATTENDEE_CONVERTER_M2O = {
'none': 'needsAction',
'notResponded': 'needsAction',
'tentativelyAccepted': 'tentative',
'declined': 'declined',