#5089 (replace cal.Event().get_calendar() with cal.calendar_fieldname)
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 3 years, 2 months ago by Sharif Mehedi about #5089 (replace cal.Event().get_calendar() with cal.calendar_fieldname) : I am marking this as done. Related changes are in xl, noi, voga & welfare. Please pull them
- 3 years, 2 months ago by Sharif Mehedi about #5089 (replace cal.Event().get_calendar() with cal.calendar_fieldname) (2 replies) : How about this format for cal.calendar_fieldname, cal.calendar_fieldname = "cal.Event.room__calendar|system.SiteConfig.site_calendar" (which is the default value and voga uses it). It can have multiple | (or-ed) statements and also if there are no model spec in the field name, we can assume the fiel...
- 3 years, 2 months ago by Luc Saffre about #5089 (replace cal.Event().get_calendar() with cal.calendar_fieldname) : I think that we can replace Event.get_calndar() by a plugin setting calrndar_fieldname, which would be e.g. 'user__calendar' in noi.
- 3 years, 2 months ago by Sharif Mehedi about #5089 (replace cal.Event().get_calendar() with cal.calendar_fieldname) : What this classmethod [url gitlab.com/lino-framework/xl/-/blob/4970bb6523efdd5265963888e143cb4c2631384d/lino_xl/lib/google/mixins.py#L195 google.mixins.GoogleCalendarEventSynchronized.get_outward_insert_update_queryset] does is not optimal. For, it doesn't returns a queryset (instead it yields event...
- 3 years, 2 months ago by Sharif Mehedi about #5089 (replace cal.Event().get_calendar() with cal.calendar_fieldname) : Created new Ticket #5089 (have cal.Event().calender_query instead of cal.Event().get_calendar() or maybe both?).