mirror of
https://gitlab.com/itsulu-odoo/itsulu-blog-publisher.git
synced 2026-05-30 23:41:23 +00:00
fix: simplify email template to use direct inverse relationship
This commit is contained in:
parent
c68fd9c86e
commit
3fcbe7cddb
1 changed files with 2 additions and 3 deletions
|
|
@ -19,9 +19,8 @@
|
||||||
|
|
||||||
<h3>Social Media Posts — Ready to Post</h3>
|
<h3>Social Media Posts — Ready to Post</h3>
|
||||||
|
|
||||||
% set social_records = object.blog_post_id.itsulu_social_id
|
% if object.blog_post_id.itsulu_social_id:
|
||||||
% if social_records:
|
% set social = object.blog_post_id.itsulu_social_id[0]
|
||||||
% set social = social_records[0]
|
|
||||||
|
|
||||||
% if social.twitter_post_a:
|
% if social.twitter_post_a:
|
||||||
<h4>Twitter Post A</h4>
|
<h4>Twitter Post A</h4>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue