Git Product home page Git Product logo

webcal_exporter's Introduction

Webcal Exporter

Beta License: AGPL-3 coopdevs/webcal_exporter

This module allows you to export Odoo calendar events to an external webcal (such as Nextcloud) for each user. Users can provide their webcal URL and credentials in their user profile, and the module will automatically export events created within the last hour. A scheduled action runs hourly to check for recent events and export them to the corresponding user's webcal.

Updated or deleted events trigger an update or deletion in the webcal.

Note: This module is not really synchronizing events, but rather exporting them to a webcal. This means that events created in the webcal will not be imported back into Odoo.

Table of contents

Configuration

  1. Go to the user profile and fill in the following fields under the Calendar Export section:
  • Calendar URL
  • Calendar User
  • Calendar Password
  1. Click on "Check Credentials" to verify if the provided credentials are correct.

Usage

Once the user's calendar credentials are set up correctly, the module will automatically export events created within the last hour to the user's external webcal. The scheduled action runs hourly to check for recent events and export them accordingly.

Changelog

14.0.1.0.6 (2024-03-11)

Bugfixes

  • Create event if UUID not found when updating events

14.0.1.0.5 (2024-03-11)

Bugfixes

  • Export event for all attendees
  • Respect calendar user choice when updating events

14.0.1.0.4 (2023-03-31)

Bugfixes

  • Allow users edit their own data

14.0.1.0.3 (2023-03-31)

Features

  • Automatic syncing on edit or unlink
  • Create #unsync tag on demand
  • Store uuid in calendar.event
  • Use uuid as a unique identificator for events ๐Ÿ’ก

14.0.1.0.2 (2023-03-30)

Bugfixes

  • Prevent duplicate filenames in ics files
  • Stringify timestamp in ics filenames.

Misc

  • Avoid to generate ics if user has no calendar configured.

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 smashing it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Coopdevs

Contributors

Maintainers

This module is part of the coopdevs/webcal_exporter project on GitHub.

You are welcome to contribute.

webcal_exporter's People

Contributors

oyale avatar

Watchers

 avatar  avatar  avatar

Forkers

brimanst

webcal_exporter's Issues

Improve event synchronization (modified and deleted events)

Currently, the module only considers the creation date of events for synchronizing them with the external calendar. This means that events modified in Odoo do not get updated in the external calendar, and events deleted in Odoo do not get removed from the external calendar.

Some ideas:

  1. Consider the update date of events.

  2. Add a boolean to_sync field to calendar events, which will be set to True when an event is created, set to False after being exported, and set to True again when the event is modified. This way, we can easily identify events that need to be synchronized with the external calendar.

  3. Create an automated action that triggers upon modifying or deleting a calendar event. This automated action should:

    a) Update the event in the external calendar if the event was modified in Odoo.
    b) Remove the event from the external calendar if the event was deleted in Odoo.

This enhancement would allow for more accurate synchronization between calendar events in Odoo and the external calendar, keeping both calendars up-to-date with changes made in Odoo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.