Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

How to remove default header and footer from Odoo email templates

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
emailheadertemplateshelpdeskfooterV16Powered By
2 Réponses
1334 Vues
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
Ignorer
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.
Meilleure réponse

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
Ignorer
Avatar
Jyotin DRKDS INFOTECH
Meilleure réponse
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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to Remove Footer from Chat Reply Emails?
email header templates footer V16
Avatar
Avatar
Avatar
2
janv. 26
1215
Odoo Helpdesk Email Template Setup Résolu
email templates helpdesk V16
Avatar
Avatar
Avatar
Avatar
3
mars 26
2397
Customer replies autofill agent email instead of organization email
email helpdesk V16
Avatar
0
févr. 26
1237
how can I configure the header and footer of my emails? V16 Résolu
email header footer
Avatar
Avatar
1
déc. 23
4214
Send helpdesk ticket acknowledgement from relevant alias email
email templates helpdesk
Avatar
0
août 21
4680
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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