Hi there,
I wanted to know if there's a way to trigger the send by email button by code.
Let's say I have a boolean field on my sales order. I want to know if it's possible to trigger the send by email button, once the boolean field becomes True.
I can trigger the sale order confirmation button by code (record.action_confirm()). But when I do this with send by email button, nothin happens. I assume it is because the mail.compose.message wizard opens, but can I not trigger the send button on that wizard too?
Thanks,