[17.0][ADD] social_media_base - #1889
Draft
edescalona wants to merge 1 commit into
Draft
Conversation
edescalona
force-pushed
the
17.0-add-social_media_base
branch
from
July 29, 2026 00:42
44bd94f to
87c1341
Compare
edescalona
force-pushed
the
17.0-add-social_media_base
branch
from
July 31, 2026 00:46
bf93518 to
7936139
Compare
edescalona
force-pushed
the
17.0-add-social_media_base
branch
3 times, most recently
from
August 13, 2026 17:26
0a76add to
f715410
Compare
edescalona
force-pushed
the
17.0-add-social_media_base
branch
from
August 14, 2026 20:38
c16fcba to
bc63b4b
Compare
edescalona
force-pushed
the
17.0-add-social_media_base
branch
from
August 14, 2026 21:02
bc63b4b to
e134fb6
Compare
edescalona
force-pushed
the
17.0-add-social_media_base
branch
from
August 16, 2026 21:25
3f72119 to
855b218
Compare
jelenapoblet
approved these changes
Aug 17, 2026
jelenapoblet
left a comment
There was a problem hiding this comment.
@edescalona great job here. Splitting social_media and social_media_advertising was the right architectural decision.
|
@ivs-cetmix ping |
ivs-cetmix
reviewed
Aug 17, 2026
| name = fields.Char() | ||
| description = fields.Text() | ||
| media_type = fields.Selection( | ||
| [], |
Member
There was a problem hiding this comment.
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 []
ivs-cetmix
reviewed
Aug 17, 2026
| _name = "social.post.mixin" | ||
| _description = "Social Media Post Mixin" | ||
|
|
||
| image_urls = fields.Char(compute="_compute_image_urls", store=True) |
Member
There was a problem hiding this comment.
Question: why not to inherit https://github.com/OCA/server-tools/tree/d6f73382749b8fc6be1311f6d566f1c48f0cbc34/base_multi_image for this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@BinhexTeam
T23566
Base to manage social media accounts and posts