mail_brand
Delivers brand-aware outgoing emails in Odoo by aligning logos, contact details, and links with the selected brand.
Key Features
- mail.compose.message: Adds an optional brand selector in the compose wizard and carries the choice through when sending the email.
- mail.thread: Injects the selected or record-linked brand into the email template context so logos and company details reflect that brand.
- base: Derives the base URL for email links from the website associated with the record’s brand when available.
- res.brand: Computes a web-ready logo from the linked partner image for use in outgoing emails.
- web controllers: Serves the appropriate brand logo via the standard company logo endpoint based on template parameters.
- mail templates: Overrides the lightweight notification template to load brand-specific logos when a brand is present.