Skip to Content
Menú
This question has been flagged
1 Respondre
228 Vistes

Hi everyone,


The “Send by Email” button is always invisible on my invoices, no matter the status (draft, posted, paid, etc.).

I can see the technical condition in the code that controls its visibility (state != 'posted' or is_being_sent or invoice_pdf_report_id or move_type not in ('out_invoice', 'out_refund')), but I don’t fully understand the functional logic behind it.


Could someone explain what functional action or configuration makes this button appear in standard Odoo?


Thanks in advance!

(Odoo version: 18)

Avatar
Descartar

Hello Nazaire ADJAKOUN,
A Vendor Bill is an incoming document—a record of an invoice you've received from your supplier. From a business perspective, there is no need to email it back to the vendor.

Best Answer

Hi,

In Odoo, the "Send by Email" button on invoices only appears under specific functional conditions. It is designed to be visible only when the invoice is posted, belongs to a customer invoice or customer credit note type (out_invoice or out_refund), is not currently being sent, and does not already have a generated PDF report (invoice_pdf_report_id is empty). Functionally, this means Odoo expects you to send invoices by email only after they are validated and not through automated processes. If your database uses automatic invoicing or email workflows (such as through eCommerce, Subscriptions, or POS), Odoo often pre-generates the PDF and marks it as already sent, which hides the button. To test it manually, create and post a customer invoice that isn’t linked to any automation the button should then appear.


Hope it helps

Avatar
Descartar
Autor

Thank you, Cybrosys Techno Solutions Pvt. Ltd.

At the time I asked the question, I hadn’t yet realized that the issue only happens on vendor bills.
To confirm, I even created a fresh demo database and recorded a short video (https://www.loom.com/share/897f8ae9777b494cbfe42f00b15adaf3?sid=bbe859d5-30e5-4699-bd59-90ee3815e956) showing that the “Send by Email” button remains invisible for supplier invoices.

Related Posts Respostes Vistes Activitat
0
de febr. 24
1368
2
d’ag. 24
2012
2
de set. 25
1032
3
de des. 24
3527
2
d’ag. 25
803