Readonly publishing of calendars

Alpha License: AGPL-3 OCA/server-backend Translate me on Weblate Try me on Runboat

This module allows administrators to configure iCalendars based on an arbitrary selection on arbitrary models.

Users can selectively subscribe to them by enabling them in their profile form.

This is useful for exposing Odoo data to calendaring application like Nextcloud.

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents

Configuration

To configure this module, you need to:

  1. Go to Settings/Technical/iCalendars

  2. Create a calendar, fill in the model you want to expose and possibly a domain to restrict records. You can use the user variable to restrict things relative to the user using the calendar

  3. A few iCalendar-fields have defaults that should work for any model, you’ll have to fill in expressions manually though for the start and end date of the records.

    For example, for model calendar.event, you’d fill in record.allday and record.start_date or record.start as DTSTART and record.allday and record.stop_date or record.stop as DTEND.

    For model hr.leave, you’d write (record.request_unit_half or record.request_unit_hours) and record.date_from or record.date_from.date() for DTSTART and (record.request_unit_half or record.request_unit_hours) and record.date_to or (record.date_to.date() + timedelta(days=1)) for DTEND - this is a bit more complex because of the way Odoo handles the begin and end times of leaves, and you’ll want the extra day as most clients interpret the end date as non-inclusive.

  4. Existing calendars are available for users in the tab Calendars of their profile form, where they can enable them to obtain a link they can paste into whatever client they are going to use

Usage

To use this module, you need to:

  1. Go to your profile form
  2. Click Enable on one of the calendars listed in tab Calendars
  3. Copy the URL to the application you use

Known issues / Roadmap

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Hunki Enterprises BV

Other credits

The development of this module has been financially supported by:

  • Company 1 name
  • Company 2 name

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

hbrunn

This module is part of the OCA/server-backend project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.