Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Artificial Intelligence
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Property Management
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How to remove default header and footer from Odoo email templates

Subscriure's

Get notified when there's activity on this post

This question has been flagged
emailheadertemplateshelpdeskfooterV16Powered By
2 Respostes
1346 Vistes
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
Descartar
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
Descartar
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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
How to Remove Footer from Chat Reply Emails?
email header templates footer V16
Avatar
Avatar
Avatar
2
de gen. 26
1241
Odoo Helpdesk Email Template Setup Solved
email templates helpdesk V16
Avatar
Avatar
Avatar
Avatar
3
de març 26
2431
Customer replies autofill agent email instead of organization email
email helpdesk V16
Avatar
0
de febr. 26
1248
how can I configure the header and footer of my emails? V16 Solved
email header footer
Avatar
Avatar
1
de des. 23
4278
Send helpdesk ticket acknowledgement from relevant alias email
email templates helpdesk
Avatar
0
d’ag. 21
4712
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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