Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] google_calendar: fix duplicate first event issue in google calendar #161835

Draft
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Commits on Apr 24, 2024

  1. [FIX] google_calendar: fix duplicate first event issue in google cale…

    …ndar
    
    Steps to Reproduce:
    - Install the calendar and Google Calendar.
    - Sync with Google Calendar.
    - Create an all-day event with recurrence.
    
    Issue:
    - The first event gets duplicated when created as an "All-day" event with
      recurrence.
    
    Cause:
    - The duplication occurs because when creating an all-day event with recurrence,
      two events are generated daily. However, during editing, one event may be
      mistakenly converted to a non-recurring event, resulting in apparent
      duplication.
    
    Solution:
    - To fix this, the google_insert method has been adjusted to insert an
      additional event in Google Calendar only when a recurrence condition is met,
      thereby preventing the duplication of the first event.
    
    task-3768121
    nikj-odoo committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    c9cd9c1 View commit details
    Browse the repository at this point in the history