Repository
OCA/calendar · module folder · Try on Runboat
Module version
1.0.0
Category
Productivity/Calendar
Folder size
0.18 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/calendar
Last tracking update
2026-08-07 08:09:28
Authors
Odoo Community Association (OCA), Onestein
Maintainers
Odoo Community Association (OCA), Onestein
Committers
tarteo, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the functionality of monthly recurring events in the calendar:

1. **Multiple dates**: For example every 5th and 15th of the month
2. **All days, Weekday (monday to friday), weekend days (saturday and sunday) or
   custom**: For example The first weekday of the month

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_calendar_event_form calendar.event form Inherits calendar.view_calendar_event_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (4)
  • day_ids Many2many → calendar.recurrence.day
    comodel_name='calendar.recurrence.day' compute='_compute_recurrence' readonly=False
  • month_by Selection
    selection_add=[('dates', 'Dates of month')]
  • weekday Selection
    selection_add=[('weekday', 'Weekday'), ('weekend_day', 'Weekend Day'), ('day', 'Day'), ('custom', 'Custom')]
  • weekday_ids Many2many → calendar.recurrence.weekday
    comodel_name='calendar.recurrence.weekday' compute='_compute_recurrence' readonly=False
Public methods (0)

No public methods.

New fields (4)
  • day_ids Many2many → calendar.recurrence.day
    comodel_name='calendar.recurrence.day'
  • month_by Selection
    selection_add=[('dates', 'Dates of month')]
  • weekday Selection
    selection_add=[('weekday', 'Weekday'), ('weekend_day', 'Weekend Day'), ('day', 'Day'), ('custom', 'Custom')]
  • weekday_ids Many2many → calendar.recurrence.weekday
    comodel_name='calendar.recurrence.weekday' compute='_compute_weekday_ids' store=True
Public methods (0)

No public methods.

New fields (1)
  • day Integer
Public methods (3)
  • get_day_from_id(self, day_id)
    @tools.ormcache('day_id')
  • get_id_from_day(self, day)
    @tools.ormcache('day')
  • name_get(self)

New fields (4)
  • key Char
    required=True
  • name Char
    required=True
  • sequence Integer
  • weekend_day Boolean
Public methods (4)
  • get_id_by_sequence(self, sequence)
    @api.model@tools.ormcache('sequence')
  • get_ids_of_days(self)
    @api.model@tools.ormcache()
  • get_ids_of_weekdays(self)
    @api.model@tools.ormcache()
  • get_ids_of_weekend_days(self)
    @api.model@tools.ormcache()