diff --git a/mail_debrand/__manifest__.py b/mail_debrand/__manifest__.py index 9a999f9..661316e 100644 --- a/mail_debrand/__manifest__.py +++ b/mail_debrand/__manifest__.py @@ -13,7 +13,7 @@ ( for powerd by) form all the templates removes any 'odoo' that are in tempalte texts > 20characters """, - "version": "14.0.2.0.2", + "version": "15.0.1.0.0", "category": "Social Network", "website": "https://github.com/OCA/social", "author": """Tecnativa, Eficent, Onestein, Sodexis, Nexterp Romania, diff --git a/mail_debrand/models/mail_render_mixin.py b/mail_debrand/models/mail_render_mixin.py index 1dab961..e81ac34 100644 --- a/mail_debrand/models/mail_render_mixin.py +++ b/mail_debrand/models/mail_render_mixin.py @@ -56,7 +56,7 @@ class MailRenderMixin(models.AbstractModel): tree, pretty_print=True, method="html", encoding="unicode" ) new_parts.append(part) - value = to_keep.join(new_parts) + value = str(to_keep).join(new_parts) return value @api.model @@ -65,15 +65,16 @@ class MailRenderMixin(models.AbstractModel): template_src, model, res_ids, - engine="jinja", + engine="qweb_view", add_context=None, + options=None, post_process=False, ): """replace anything that is with odoo in templates - if is a