[Feature] Integration between the Item Booking doctype and Google Agenda
- General
The integration between Item Bookings and Google Calendar is not straightforward as there is a model difference between the two platforms. Google Calendar doesn't have access to the Item list in dokos, which means that it requires to find a way to assign each event from Google Calendar to the right item in dokos.
In order to achieve this integration, we can imagine different options.
- Options
2.1. Link each item to a specific calendar
With this option, each item can be linked to a specific Google calendar. This way, if the event is created in dokos, it will be sent to the linked Google calendar, and when created in Google calendar, a new Item Booking linked to the right Item will be created.
Issues: With this option, we cannot link a calendar to an item group (to share a calendar between several items) nor with a item template in case we have different variants in the same calendar (#35 (closed))
2.2. Only one calendar for all items
2.2.1. In this scenario, the best option would be to develop a Google Chrome/Firefox extension to provide options in order to select the right item right from Google Calendar.
2.2.2. Another option is to create a new Item Booking without link to any item. In this case, slots for all items should be considered as booked.
2.2.3. A third possibility is to let user register the name of the item in the description or the title of the event in Google Calendar and to parse it to select the right item in dokos.
Issues: This option requires the development of an external application and users must be forced to use it in order to have a working integration. In case we let users register the item manually in the event description, the error rate may be very high.