Social Media Calendar
social_media_calendar · OCA/social
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module provides the functionality to display posts in the calendar view.
It is installed automatically together with Social Media Base, because the calendar is meant to be part of the standard experience of the posts: it adds the calendar view to the Posts menu without any configuration. Uninstalling it is permanent as long as Social Media Base is not installed again: neither an update of the apps list nor an upgrade of Social Media Base brings the calendar back, but installing Social Media Base again does.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
social_post_view_calendar |
social.post.view.calendar | social.post | calendar | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
colorIntegercompute='_compute_color' -
date_calendarDatetimecompute='_compute_date_calendar'store=True
-
default_get(self, fields_list)@api.modelPropose the day clicked on the calendar as the schedule date. The calendar places the events by ``date_calendar``, which is only a read-only summary of the dates of the post, so the date the user clicked cannot be written there: it is turned into the date the post is really sent, and the post is switched to ``schedule`` because that is the only mode where a date can be chosen. A day already past is dropped on purpose: *Social Media Base* refuses a schedule date behind the clock with a validation error, so keeping it would make the form unsavable. Leaving ``send_post_date`` out of the defaults lets ``_compute_send_post_date`` propose its usual one hour from now.
Loading…
Loading…