| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Calendar (calendar)
• Discuss (mail) |
| Lines of code | 870 |
| Technical Name |
caldav_sync |
| License | LGPL-3 |
| Website | https://www.bemade.org |
| Versions | 17.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Calendar (calendar)
• Discuss (mail) |
| Lines of code | 870 |
| Technical Name |
caldav_sync |
| License | LGPL-3 |
| Website | https://www.bemade.org |
| Versions | 17.0 18.0 |
CalDAV Synchronization
Author: Bemade Inc. (Marc Durepos)
Website: www.bemade.org
License: GNU Lesser General Public License (LGPL-3)
Overview
The CalDAV Synchronization module for Odoo allows users to synchronize their calendar events with CalDAV servers. This enables seamless integration of Odoo calendar with external applications like Apple Calendar or Thunderbird.
Warning
This module is in early development stages and should not be considered stable. Please test it on an unimportant calendar before using it with your important data. We are working hard to make improvements based on user feedback, so please reach out if you run into any issues or need a specific feature.
Features
- Synchronize Odoo calendar events with CalDAV servers.
- Create, update, and delete events in Odoo and reflect changes on the CalDAV server.
- Poll CalDAV server for changes and update Odoo calendar accordingly.
Configuration
- Install the module in Odoo.
- Go to the User settings in Odoo.
- Enter the CalDAV calendar URL, username, and password on the user settings. In some cases, the calendar URL to use is not evident. For Apple iCloud calendars, for example, we recommend starting with the base server url at https://caldav.icloud.com/ and then selecting a specific calendar url from the error given in the server logs.
Note: Some calendar service providers such as Apple iCloud require app-specific passwords to be set so that the calendar API can bypass 2-factor authentication. Please look into setting up app-specific passwords for your cloud calendar provider if you're faced with authentication errors.
Usage
- Create a calendar event in Odoo and it will be synchronized with the CalDAV calendar.
- Update the event in Odoo and the changes will reflect on the CalDAV server.
- Delete the event in Odoo and it will be removed from the CalDAV server.
- Changes made to the calendar on the CalDAV server will be polled and updated in Odoo.
Technical Details
The module extends the calendar.event model to add CalDAV synchronization functionality. It uses the icalendar library to format events and the caldav library to interact with CalDAV servers. Polling for changes on the CalDAV server can be triggered manually by triggering the scheduled action in Odoo.
Support
If you have any issues with the module or feature requests, please reach out to us by creating an issue on our Gitlab at https://git.bemade.org/bemade/bemade-addons or by submitting a request on our website at https://www.bemade.org
Please log in to comment on this module
There are no ratings yet!
Hi Team,
One of our customers, who is currently using Odoo V17, has implemented this module to manage their calendar and scheduling needs. I wanted to clarify something regarding the synchronization functionality. Specifically, we need to know whether the existing calendar entries (i.e., those created before implementing this module) will sync properly in both directions.
To elaborate, would events or appointments created on the calendar before the integration of this module be able to sync and reflect any changes made on either side (both from within Odoo and Zoho calendar)?
Thanks,
Sodexis.
Hello,
Currently the module does not import events in the past. Should you wish to change this, edit caldav_sync/models/calendar_event.py to either remove lines 665 and 666 or to use a different "earliest date" than today.
If this request is more frequent we may add a feature to configure this date in a future version.