Skip to content

[17.0][ADD] social_media_base - #1889

Draft
edescalona wants to merge 1 commit into
OCA:17.0from
BinhexTeam:17.0-add-social_media_base
Draft

[17.0][ADD] social_media_base#1889
edescalona wants to merge 1 commit into
OCA:17.0from
BinhexTeam:17.0-add-social_media_base

Conversation

@edescalona

Copy link
Copy Markdown

@BinhexTeam

T23566

Base to manage social media accounts and posts

@OCA-git-bot OCA-git-bot added series:17.0 mod:social_media_base Module social_media_base mod:social_media_x Module social_media_x mod:social_media_linkedin Module social_media_linkedin mod:social_media_calendar Module social_media_calendar labels Jul 28, 2026
@edescalona
edescalona force-pushed the 17.0-add-social_media_base branch from 44bd94f to 87c1341 Compare July 29, 2026 00:42
@OCA-git-bot OCA-git-bot added mod:social_media_x Module social_media_x mod:social_media_linkedin Module social_media_linkedin mod:social_media_calendar Module social_media_calendar mod:social_media_advertising Module social_media_advertising mod:social_media_advertising_linkedin Module social_media_advertising_linkedin and removed mod:social_media_x Module social_media_x mod:social_media_linkedin Module social_media_linkedin mod:social_media_calendar Module social_media_calendar labels Jul 29, 2026
@edescalona
edescalona force-pushed the 17.0-add-social_media_base branch from bf93518 to 7936139 Compare July 31, 2026 00:46
@OCA-git-bot OCA-git-bot removed mod:social_media_x Module social_media_x mod:social_media_linkedin Module social_media_linkedin mod:social_media_calendar Module social_media_calendar mod:social_media_advertising Module social_media_advertising mod:social_media_advertising_linkedin Module social_media_advertising_linkedin labels Jul 31, 2026
@edescalona
edescalona force-pushed the 17.0-add-social_media_base branch 3 times, most recently from 0a76add to f715410 Compare August 13, 2026 17:26
@OCA-git-bot OCA-git-bot added mod:social_media_x Module social_media_x mod:social_media_linkedin Module social_media_linkedin mod:social_media_calendar Module social_media_calendar mod:social_media_advertising Module social_media_advertising mod:social_media_advertising_linkedin Module social_media_advertising_linkedin labels Aug 14, 2026
@edescalona
edescalona force-pushed the 17.0-add-social_media_base branch from c16fcba to bc63b4b Compare August 14, 2026 20:38
@OCA-git-bot OCA-git-bot removed the mod:social_media_x Module social_media_x label Aug 14, 2026
@OCA-git-bot OCA-git-bot removed mod:social_media_linkedin Module social_media_linkedin mod:social_media_calendar Module social_media_calendar mod:social_media_advertising Module social_media_advertising mod:social_media_advertising_linkedin Module social_media_advertising_linkedin labels Aug 14, 2026
@edescalona
edescalona force-pushed the 17.0-add-social_media_base branch from bc63b4b to e134fb6 Compare August 14, 2026 21:02
@edescalona
edescalona force-pushed the 17.0-add-social_media_base branch from 3f72119 to 855b218 Compare August 16, 2026 21:25

@jelenapoblet jelenapoblet left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edescalona great job here. Splitting social_media and social_media_advertising was the right architectural decision.

@jelenapoblet

Copy link
Copy Markdown

@ivs-cetmix ping

name = fields.Char()
description = fields.Text()
media_type = fields.Selection(
[],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a bug but a hint: you can add selection as a lambda function - much easier to override and modify later.


media_type = fields.Selection(selection=lambda self: self._selection_media_type())

# And later

def _selection_media_type(self):
    return []

_name = "social.post.mixin"
_description = "Social Media Post Mixin"

image_urls = fields.Char(compute="_compute_image_urls", store=True)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:social_media_base Module social_media_base series:17.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants