CalDAV CardDAV Sync: Two-Way Calendar and Contacts with Nextcloud, iCloud, Fastmail, Synology, Zimbra
by Viyug Infotech https://viyuginfotech.com$ 108.47

Your Odoo calendar and contacts on every phone, in sync both ways.
Connect each user to Nextcloud, iCloud, Fastmail, Synology, Zimbra, mailbox.org, Radicale or any CalDAV / CardDAV server. Meetings planned in Odoo appear in the phone calendar, events typed on the phone appear in Odoo, and contacts travel both ways with their company, phones, address and photo. Recurring series stay one series, conflicts follow your rule, and every change is in a log you can retry from.
Calendars + contacts Two-way Any CalDAV server
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Odoo should not be the only calendar that knows
Sales people live in the calendar and contacts of their phone. Odoo ships Google and Outlook sync only, so teams on Nextcloud, iCloud or a NAS type every meeting twice, and the phone never learns about the customer added in Odoo.
Before
- Meetings typed twice: in Odoo and on the phone
- Customers added in Odoo are missing on the phone
- Phone contacts never reach the CRM
- Recurring meetings break into hundreds of loose events
- Nobody knows which side changed last
After
- One calendar on both sides, updated every few minutes
- Odoo contacts on the phone, with company and photo
- Contacts from the phone matched or created in Odoo
- Series with moved and cancelled dates stay one series
- Conflict rule plus the other version kept in the log
How it works
Connect
Each user enters the server, user name and app password; discovery lists calendars and address books.
Choose
Two-way, import only or Odoo as master per collection, and which calendar receives Odoo meetings.
First sync
Server items are imported (contacts matched first), Odoo meetings and chosen contacts are sent.
Stay in sync
Changes on either side follow within minutes; the dashboard and log show every step.
What you get
Auto-discovery
Server address, user and app password: the module finds the calendars and address books (well-known address, principal, home sets) and lists them with their colour and rights.
Events both ways
All-day and timed events in their time zone, location, description, attendees with their answers, organiser, reminders, tags, privacy and busy / free.
Real recurring series
RRULE series import as Odoo recurrences. Occurrences moved or deleted in Odoo go back as overrides and EXDATEs of the same series, never as loose copies.
Contacts both ways
People and companies, company link, job title, e-mail, phone and mobile, address, website, notes, tags and photo.
No duplicates
Before creating anything the module looks for the contact by UID, e-mail or company name; the same meeting synced by several colleagues stays one Odoo event.
Nothing lost on the phone
Exports merge into the last server copy: birthdays, extra numbers, conference links and app-specific fields stay untouched.
Conflict rule
Newest change wins, Odoo wins or server wins. The losing version is kept in the conflict log, ready to compare or take back.
Shared company books
Publish a filtered set of partners (all customers, one tag, one company) as an address book that the whole team subscribes to.
Subscriptions and feed
Import read-only webcal / .ics calendars (holidays, booking tools), and give every user a private feed of their Odoo meetings.
Fast and gentle
Sync tokens (RFC 6578) with an ETag fallback, batched downloads, conditional writes and a pause when the server asks to slow down.
Queue and sync log
Idempotent jobs, retries with growing delays, dead letters with Retry and Skip, a log line per created, changed or deleted record.
Live health dashboard
Events and contacts in sync, received and sent today, queue, dead letters and conflicts per account, refreshing by itself.
Per user, safely
Every user manages their own accounts and sees only their log; administrators see all. Records are read and written with the rights of the account owner. Multi-company.
No invitation spam
Imported meetings never send Odoo invitations, and attendees are sent with SCHEDULE-AGENT=CLIENT so the server does not e-mail them either.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Calendars and contacts in one app | Yes | Usually two apps |
| Any CalDAV / CardDAV server, auto-discovery and presets | Yes | Often one provider |
| Recurring series with moved and deleted occurrences | Yes | Partly |
| Same meeting of several colleagues stays one event | Yes | No |
| Existing contacts matched before creating | Yes | Rarely |
| Phone-only fields kept when Odoo exports | Yes | No |
| Conflict rule with the other version kept | Yes | Rarely |
| Shared company address book from a filter | Yes | Expensive add-on |
| Webcal subscriptions and private read-only feed | Yes | No |
| Queue with retries, dead letters and live dashboard | Yes | Logs only |
| No extra Python package (vobject ships with Odoo) | Yes | Sometimes not |
Setup in 5 steps
Install CalDAV CardDAV Sync. vobject is part of the standard Odoo requirements.
Create an app password in Nextcloud, iCloud, Fastmail or your server (the hint in the wizard says where).
DAV Sync > Configuration > Connect a server: choose the preset, enter the address and login, Test and discover.
Tick the calendars and address books, pick the one that receives Odoo meetings, set two-way or one-way.
Start first sync. From then on the scheduler keeps both sides aligned; Sync now runs it at once.
Workflow walkthrough
Step by step through a real sync with a Nextcloud server: Odoo screens and the server side, fictional company and contacts.
Connect a server
DAV Sync > Configuration > Connect a server. Choose the preset (here Nextcloud), enter the server address, the user name and an app password. The hint explains where each provider creates app passwords.

Calendars and address books are found
Test and discover reads the server and lists every calendar and address book with its rights. Read-only ones (birthdays, system books) are import-only. Pick what to sync and which calendar receives Odoo meetings, or let the module create a dedicated "Odoo" calendar and address book.

One health dashboard for every account
Each user's account shows events and contacts in sync, what was received and sent in the last 24 hours, the queue, dead letters and conflicts. An account with a refused login turns red at once. The cards refresh by themselves.

The account
Server, login, owner and status, the collections with their direction and counters, sync rules (interval, import window, conflict rule, attendees, company links, photos) and a private feed address.

On the server: the week in the phone calendar
Seen from Nextcloud: the lunch and the site visit typed on the phone, next to the Odoo meetings sent by the module. The same calendar is on every phone subscribed to it.

In Odoo: the same week
The events created on the phone are in Marc's Odoo calendar with their time, place, reminder and attendees; the moved weekly meeting sits on its new slot.

One series, with its exceptions
The weekly sales meeting was moved once and cancelled once in Odoo. The server copy shows one series: the RRULE, an EXDATE for the cancelled date and a RECURRENCE-ID override for the moved one, exactly what calendar apps expect.

Odoo contacts in the address book
Seen from Nextcloud Contacts: Odoo contacts with their company, job title, phones and photos. Ann Brown was typed on the phone with a home number and a birthday; those stay on the phone.

A contact from the phone, in Odoo
Ann Brown arrived in Odoo with her e-mail, mobile and job title, linked to the existing company Gemini Furniture and tagged "Phone contacts". An existing contact with the same e-mail would have been updated instead of duplicated.

Every change in the sync log
One line per event or contact received or sent, per calendar and address book, with a link to the record. Errors and conflicts can be retried from here.

Changed on both sides? Your rule decides
The trade fair was renamed on the phone while its location changed in Odoo. With "Newest change wins" the Odoo version was sent; the server version is kept in the log line for comparison.

Queue and dead letters
Work waits in an idempotent queue. A timeout is retried with growing delays; a refused login becomes a dead letter at once, with Retry and Skip, until someone fixes the password.

A company directory for the whole team
An administrator publishes all companies as a Synology address book: Odoo is the master, the book follows the filter, edits made on the server are put back.

Read-only feed and subscriptions
Without any server: a private address that Google Calendar, Outlook or Apple Calendar can subscribe to. Webcal subscriptions (public holidays, booking tools) are imported into Odoo the same way.

Questions
Which servers work?
Any server speaking CalDAV (RFC 4791) and CardDAV (RFC 6352): Nextcloud, ownCloud, Apple iCloud, Fastmail, Synology Calendar and Contacts, Zimbra, mailbox.org, Radicale, Baikal, SOGo and others. Presets fill the addresses for the common ones.
Does every user need their own account?
Each user connects their own calendar and contacts with their own app password and sees only their own log. An administrator can also connect shared accounts, for example a company directory address book.
What about Google Calendar and Outlook?
Odoo has its own Google and Outlook calendar sync. This app covers everything else, and both can be used side by side.
How fast are changes on the phone seen in Odoo?
Every few minutes (5 by default, adjustable per account). Odoo changes are sent right away by the queue. Sync now runs it at once.
What happens when the same event changed on both sides?
Your rule decides: newest change, Odoo or server. The other version is kept in the conflict log with the full server copy.
Will customers get duplicate invitations?
No. Imported meetings never send Odoo invitations, and the module asks the server not to send any either (SCHEDULE-AGENT=CLIENT).
Does it run on Odoo.sh and Community?
Yes, Community and Enterprise, on premise and Odoo.sh. It needs no extra Python package.
Extensions
Using Nextcloud or a NAS? Keep the documents there too.
CalDAV CardDAV Sync
Calendars and contacts with any CalDAV / CardDAV server.
You are hereNeed a hand?
Questions about your server, app passwords or a first sync of a large address book? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to open the live demo, chat on WhatsApp or write us an email:

Live demo
apps-demo.viyuginfotech.com
/try-demo?app=viyug_dav_sync

+91 83207 42187

Send us an email
Release notes
Initial release
- CalDAV and CardDAV two-way sync per user with auto-discovery and 9 server presets
- Recurring series with overrides and EXDATEs, attendees, reminders, time zones
- Contacts with company link, photo and duplicate matching; lossless merge into the server copy
- Shared address books from filters, webcal subscriptions, private read-only feed
- Queue with retries and dead letters, conflict log, live health dashboard, setup wizard
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Calendar (calendar)
• Contacts (contacts) • Discuss (mail) |
| Lines of code | 3656 |
| Technical Name |
viyug_dav_sync |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module