Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
227 Weergaven

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
Annuleer

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.

Beste antwoord

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
Annuleer
Auteur

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
0
feb. 24
1368
2
aug. 24
2012
2
sep. 25
1032
3
dec. 24
3527
2
aug. 25
803