Right now I'm trying to call programmatically, from another model, the action 'action_invoice_sent' that exists in the invoice details page as a button called 'Send & Print' (I'm not able to post images).
I call the action as a method: 'invoice_object.action_invoice_sent()' but nothing happens. Does anyone knows how to send invoices programmatically?
Thanks