[17.0][ADD] social_media_base #1889
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 310 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.343
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1889"
general
weight: 0.35
ivs-cetmix
@BinhexTeam
T25184
This PR adds Social Media Base, the media-agnostic foundation for managing social media accounts and posts from Odoo.
It brings the models, the security, the scheduled actions and the common interface, but it does not connect to any network by itself: a connector module (Social Media Linkedin, Social Media X, ...) registers the media, implements the OAuth authorization and publishes for real.
What it adds
social.account) with their OAuth credentials, visible only to administrators, and a responsible user that scopes what each user sees.social.post) with the state flowdraft → planned → publishing → published / cancelled / failed, fanning out into one publication (social.post.account) per selected account.social.account.statistics), one row per account and day, drawn with the native graph and pivot views. A cron rewrites the last days every two hours, because networks revise figures already past.group_social_media_user(own accounts) andgroup_social_media_manager(all accounts).Design notes
excludes: ["social"]: these modules cannot coexist with Odoo's Social Marketing.Tests
Full test suite included, with no network calls — every HTTP call is patched.