Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to remove default header and footer from Odoo email templates

Subscribe

Get notified when there's activity on this post

This question has been flagged
emailheadertemplateshelpdeskfooterV16Powered By
2 Replies
1339 Views
Avatar
Hemanth

I am working on a helpdesk application and have created an email template for responses. When I reply to user tickets as an agent, the email includes a small company logo in the top-left corner, a "View Helpdesk Ticket" header, and a footer with the company name, email address, and a "Powered by Odoo" message. 

How can I remove these elements and keep just the email content, showing only the message I type in template.

0
Avatar
Discard
Luc Bernard
Hi,

I'm using the online v19.2 with Standard user but I can't find the "Layout" or "Email Layout" field in my email templates, nor can I find where are the mail_notification_layout defined?

Thanks.

Avatar
Zehntech Technologies Inc.
Best Answer

Hello,

Yes, this can be achieved in Odoo.

By default, Odoo applies a layout (header & footer) to email templates. To remove these elements:

  • Go to your Email Template

  • Locate the "Layout" or "Email Layout" field

  • Set it to "None" (or remove the external layout if applied)

Alternatively, you can customize or edit the layout template if you still want partial control over header/footer.

This will ensure only your typed message content is sent without the default branding.

Hope this works for you! Feel free to reach out for further discussion.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Discard
Avatar
Jyotin DRKDS INFOTECH
Best Answer
In Odoo, the default header and footer in email templates come from the **mail layout** templates. Here's how to remove them:

## Method 1: Override the Mail Layout (Recommended)

The default wrapper is defined in `mail.mail_notification_layout`. You can inherit and strip it:

```xml
<template id="custom_mail_notification_layout"
          inherit_id="mail.mail_notification_layout">
    <!-- Remove header -->
    <xpath expr="//td[hasclass('o_mail_header')]" position="replace"/>
    <!-- Remove footer -->
    <xpath expr="//td[hasclass('o_mail_footer')]" position="replace"/>
</template>
```

The exact xpath depends on your Odoo version — class names differ between v14, v16, and v17+. Check the actual template in your version by going to **Settings → Technical → Email → Templates** or searching in the source code under `addons/mail/data/`.

## Method 2: Use a Custom Layout on Specific Templates

If you only want to remove header/footer for **specific** email templates (not globally), set a custom `email_layout_xmlid` on your mail template:

```xml
<record id="your_custom_template" model="mail.template">
    <field name="email_layout_xmlid">your_module.minimal_layout</field>
</record>
```

Then define `minimal_layout` as a bare-bones wrapper with just `${message.body}` and no header/footer markup.

## Method 3: Quick UI Fix

Go to **Settings → Technical → Email → Email Templates**, find the template, and in the **Body** field, set the email layout to "No external layout" (available in v16+). In the template form, look for the **Mail Layout** field.

## Key Tips

- In **Odoo 16+**, the layout selector dropdown was added directly on the mail template form — look for "Email Layout" field.
- In **older versions (v14/v15)**, you'll need the XML override approach.
- Always test with `mail.mail` records — check the `body_html` after sending to confirm the wrapper is gone.

Which Odoo version are you on? The exact xpath and field names vary, happy to share version-specific code.

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to Remove Footer from Chat Reply Emails?
email header templates footer V16
Avatar
Avatar
Avatar
2
Jan 26
1217
Odoo Helpdesk Email Template Setup Solved
email templates helpdesk V16
Avatar
Avatar
Avatar
Avatar
3
Mar 26
2403
Customer replies autofill agent email instead of organization email
email helpdesk V16
Avatar
0
Feb 26
1238
how can I configure the header and footer of my emails? V16 Solved
email header footer
Avatar
Avatar
1
Dec 23
4217
Send helpdesk ticket acknowledgement from relevant alias email
email templates helpdesk
Avatar
0
Aug 21
4701
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now