Wednesday, July 14, 2021
1 change · master
New functionality added to Odoo
Event teams can now prepare reusable social post templates and schedule them as part of event communications. This makes it easier to coordinate event promotion across social channels without manually creating each post from scratch.
Original PR description
Purpose ======= We want to be able to write social post, without the intention to send them directly. For that purpose, we moved some fields of `social.post` to a new model, `social.post.template`.…
Purpose ======= We want to be able to write social post, without the intention to send them directly. For that purpose, we moved some fields of `social.post` to a new model, `social.post.template`. We also want to be able to post on social medias in the event communication. Specifications ============== Social post template We want to be able to write social posts, without the intention to send them directly. For that purpose, we moved some fields of `social.post` to a new model, `social.post.template`. The model `social.post.template` has the common fields of both, mainly fields related to the post content (so, be inheriting, we avoid code duplication). So, in Social Event, we are able to generate multiple social posts from the same social post template. Event: communication support To be able to post on social medias from Event, we added `social post template` to the event mail and to the event type mail. To be coherent with the mail/SMS template, the social post is sent in the event CRON. We create a social post with the value of the social post template and with the social accounts linked to the event mail. Task-2127615