Skip to content

Conversation

@Jord38
Copy link

@Jord38 Jord38 commented Feb 9, 2026

Odoo commit 9f65f1a introduced conditional footer rendering in mail_notification_layout, but mail_debrand only hooked into _render_template (which notification emails bypass via ir.qweb._render) and _prepare_outgoing_body.

Add _notify_by_email_render_layout override on mail.thread to catch branding at the actual render point for all notification emails.

Also clean up leftover pipe separator and whitespace from the unfollow span after removing the Odoo branding link.

Odoo commit 9f65f1a introduced conditional footer rendering in
mail_notification_layout, but mail_debrand only hooked into
_render_template (which notification emails bypass via ir.qweb._render)
and _prepare_outgoing_body.

Add _notify_by_email_render_layout override on mail.thread to catch
branding at the actual render point for all notification emails.

Also clean up leftover pipe separator and whitespace from the unfollow
span after removing the Odoo branding link.
@OCA-git-bot
Copy link
Contributor

Hi @pedrobaeza, @joao-p-marques,
some modules you are maintaining are being modified, check this out!

@Larsq1
Copy link

Larsq1 commented Feb 9, 2026

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants