TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/social · module folder · Try on Runboat
Module version
1.0.0
Category
Social Network
Folder size
0.17 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/social
Last tracking update
2026-09-21 23:03:37
Authors
Odoo Community Association (OCA), Binhex
Maintainers
Odoo Community Association (OCA), Binhex
Committers
Weblate, OCA-git-bot, Edilio Escalona Almira
Odoo dependencies
OCA/social:
odoo/odoo:
- utm
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis info_outline

Views touched (1)
XML IDNameModelTypeStatus
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)

New fields (2)
  • color Integer
    compute='_compute_color'
  • date_calendar Datetime
    compute='_compute_date_calendar' store=True
Public methods (1)
  • default_get(self, fields_list)
    @api.model
    Propose 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.
Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
268 days ago
Last activity
72 days ago
Repository
OCA/social
Pull request
[19.0][MIG] social_media_calendar: Migration to 19.0 (#1789)