Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Umělá inteligence
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    • Referral Program
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

How to remove "view invoice" button from emails on Odoo 18 Online

Odebírat

Get notified when there's activity on this post

This question has been flagged
accountingemailaccount.move
3 Odpovědi
1118 Zobrazení
Avatar
Del Sur Inversiones, Sebastian Lemos

Hi, I can't find a way to get rid of the button "view invoice" in the email template "Invoice: Sending".

Already tried to edit the code in the template but it doesn't show a section for this button, only the part that start below.


Thanks in advance,

Sebastian

0
Avatar
Zrušit
Avatar
Jyotin DRKDS INFOTECH
Nejlepší odpověď
In Odoo 18, the "View Invoice" button in invoice emails comes from the mail template associated with the invoice. Here's how to remove it:

**Method 1: Edit the Mail Template (No Code)**

1. Go to **Settings → Technical → Email → Templates**
2. Search for the template named **"Invoice: Sending"** (or `account.email_template_edi_invoice`)
3. Edit the **Body HTML** and remove the button markup — look for something like:
```html
<a t-att-href="ctx.get('portal_url')" ...>View Invoice</a>
```
4. Save.

**Method 2: If you're on Odoo Online (SaaS)**

Since you mentioned **Odoo 18 Online**, you likely don't have full technical menu access. Try this:

1. Enable **Developer Mode** (Settings → scroll down → Activate Developer Mode)
2. Then navigate to **Settings → Technical → Email → Templates**
3. Find `account.email_template_edi_invoice` and edit the body

If the button is rendered via a sub-template or `_portal_link` mechanism rather than inline HTML, look in the template body for:

```xml
<t t-set="actions">
    ...button markup...
</t>
```

Remove or comment out the relevant block.

**Important note for Odoo Online:** You cannot create custom modules, but you *can* edit mail templates through the UI. However, be aware that Odoo updates may reset your changes on the SaaS platform. Document what you changed so you can re-apply after upgrades.

**Method 3: Override via Studio (if available)**

If you have the Studio app, you can sometimes customize email templates more safely, though for this specific case, direct template editing is more reliable.

After editing, send a test invoice email to yourself to verify the button is gone.

0
Avatar
Zrušit
Avatar
Zehntech Technologies Inc.
Nejlepší odpověď

Hi Sebastian,

In Odoo 18 Online, the “View Invoice” button in the Invoice: Sending email is usually automatically generated by Odoo to give customers portal access to their invoice. Because of this, it may not appear directly in the editable HTML of the email template, which is why you cannot see it in the code.

On Odoo Online (SaaS), removing this button through the template editor is generally not supported, since it is injected by the system. Possible workarounds include adjusting portal/payment settings or modifying the email flow, but full control typically requires customization (available on Odoo.sh or On-Premise environments).

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

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Zrušit
Avatar
Codesphere Tech
Nejlepší odpověď
Hello,

This is built using a dynamic method from the backend, but you can change it from here. However, please keep in mind that this template is also used by other modules. Also check the condition inside view code
Views → Mail: Mail Notification Layout Template -> find button_access
<t t-out="button_access['title']"/>
Hope this helps

Thanks.

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Remove bank account from supplier
accounting account.move
Avatar
Avatar
1
bře 25
4240
Forward facing email - v17 Vyřešeno
accounting email
Avatar
Avatar
2
úno 24
1935
Mexican location, stamped to billing address. Odoo v14 enterprise
accounting account.move
Avatar
0
lis 22
3331
Internal notes on Journal Entries Vyřešeno
accounting account.move journal_entry
Avatar
Avatar
1
bře 16
7153
Section line on customer invoice not displayed in invoice lines (but appears in accounting entries)
accounting invoicing account.move odoo V18
Avatar
0
pro 25
1350
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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