Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Help understanding “Send by Email” button visibility on invoices V18

by
Latoure Labs, Nazaire ADJAKOUN
- 28/10/2025 22:19:35

Hi everyone,


I’m trying to understand why the “Send by Email” button doesn’t appear on my bills — it stays invisible regardless of their status.

I’ve checked the technical condition in the code (state != 'posted' or is_being_sent or invoice_pdf_report_id or move_type not in ('out_invoice', 'out_refund')), but I’d like to understand the functional logic — what needs to be configured in Odoo to make it visible in the standard flow?


I managed to make the “Send by Email” button visible, but I’m now facing a blocking message: “You can only generate sales documents.”

This action used to work in previous Odoo versions (it’s part of a self-billing process).


Do you have any recommendations or know if there’s a module or standard approach for handling this in Odoo 18?


Thanks in advance for your help,

Nazaire


(Odoo version: 18)

Follow-Ups