Skip to content

Commit

Permalink
Merge PR #541 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Dec 11, 2023
2 parents 70c8139 + 00f53da commit ba57e73
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ def create_calendar_event(self):
item._prepare_calendar_event_vals()
)
if event:
# Since this commit https://github.com/odoo/odoo/commit/
# 71dc58acfcc4589bc5996b48e157aea6b0f8a609 Odoo remove the event
# calendar linked to a mail activity. To avoid Odoo remove the calendar
# event we disassociate the event and activity.
event.activity_ids.calendar_event_id = False
event.activity_ids.unlink()
item.calendar_event_id = event
events += event
Expand Down

0 comments on commit ba57e73

Please sign in to comment.