Przejdź do zawartości
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Sztuczna inteligencja
    • IoT
    • VoIP
    • Wiedza
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

How to remove default header and footer from Odoo email templates

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
emailheadertemplateshelpdeskfooterV16Powered By
2 Odpowiedzi
1344 Widoki
Awatar
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
Awatar
Odrzuć
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.

Awatar
Zehntech Technologies Inc.
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Jyotin DRKDS INFOTECH
Najlepsza odpowiedź
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
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How to Remove Footer from Chat Reply Emails?
email header templates footer V16
Awatar
Awatar
Awatar
2
sty 26
1236
Odoo Helpdesk Email Template Setup Rozwiązane
email templates helpdesk V16
Awatar
Awatar
Awatar
Awatar
3
mar 26
2421
Customer replies autofill agent email instead of organization email
email helpdesk V16
Awatar
0
lut 26
1246
how can I configure the header and footer of my emails? V16 Rozwiązane
email header footer
Awatar
Awatar
1
gru 23
4234
Send helpdesk ticket acknowledgement from relevant alias email
email templates helpdesk
Awatar
0
sie 21
4707
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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