Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
252 Visualizzazioni

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
Abbandona

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.

Risposta migliore

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
Abbandona
Autore

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.

Post correlati Risposte Visualizzazioni Attività
0
feb 24
1369
2
ago 24
2019
2
set 25
1037
3
dic 24
3535
2
ago 25
806