From 55ef58f3fbcbc523ee0a8c371f289e63c1e4296d Mon Sep 17 00:00:00 2001 From: Nicholas Riegel Date: Sat, 30 May 2026 03:02:59 -0400 Subject: [PATCH] fix: use type='html' not type='qweb' for mail template body_html type='qweb' is not a valid value in Odoo's data-file RNG schema (allowed: char/int/float/html/xml/file/base64/ref). It caused a misleading "Element odoo has extra content: data" validation error that aborted the entire module upgrade. type='html' with t-out/t-foreach/t-if directives as real XML children is the correct Odoo 17 pattern; body_html renders with the qweb engine at send time regardless. Co-Authored-By: Claude Sonnet 4.6 --- .../data/mail_template_data.xml | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/addons/itsulu_blog_publisher/data/mail_template_data.xml b/addons/itsulu_blog_publisher/data/mail_template_data.xml index 23ab502..3809791 100644 --- a/addons/itsulu_blog_publisher/data/mail_template_data.xml +++ b/addons/itsulu_blog_publisher/data/mail_template_data.xml @@ -8,41 +8,41 @@ [ITSulu Insights] Blog Post Published: {{ object.blog_post_id.name }} {{ user.email_formatted }} True - -

Blog Post Published

-

Title:

-

Blog:

-

URL: https://itsulu.com

-

Social Media Posts — Ready to Post

- - -

Twitter

-

-
- -

Twitter

-

-
- -

BlueSky

-

-
- -

BlueSky

-

-
- -

Mastodon

-

-
- -

LinkedIn

-

-
-
- - ]]>
+ +
+

Blog Post Published

+

Title:

+

Blog:

+

URL: https://itsulu.com

+

Social Media Posts — Ready to Post

+ + +

Twitter

+

+
+ +

Twitter

+

+
+ +

BlueSky

+

+
+ +

BlueSky

+

+
+ +

Mastodon

+

+
+ +

LinkedIn

+

+
+
+
+