Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • E-learning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Artificiële Intelligentie
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelwinkel
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Horeca & Hospitality
    • Bar en café
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van mede-eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brouwerij
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Diensten
    • Klusjesman
    • IT-hardware & ondersteuning
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Alle bedrijfstakken bekijken
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijsprogramma
    • Scale Up! Business Game
    • Odoo bezoeken
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Partner worden
    • Diensten voor partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

How to remove default header and footer from Odoo email templates

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
emailheadertemplateshelpdeskfooterV16Powered By
2 Antwoorden
1347 Weergaven
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
Annuleer
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.
Beste antwoord

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
Annuleer
Avatar
Jyotin DRKDS INFOTECH
Beste antwoord
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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
How to Remove Footer from Chat Reply Emails?
email header templates footer V16
Avatar
Avatar
Avatar
2
jan. 26
1244
Odoo Helpdesk Email Template Setup Opgelost
email templates helpdesk V16
Avatar
Avatar
Avatar
Avatar
3
mrt. 26
2431
Customer replies autofill agent email instead of organization email
email helpdesk V16
Avatar
0
feb. 26
1249
how can I configure the header and footer of my emails? V16 Opgelost
email header footer
Avatar
Avatar
1
dec. 23
4286
Send helpdesk ticket acknowledgement from relevant alias email
email templates helpdesk
Avatar
0
aug. 21
4712
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Partner worden
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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