I have a sale.order.line object and my Module automatically generates a Plan using the PIL Module as an Image. Now, I want to add the plan as an email attachement to the order when sent as an email. (The plan is being generated when the user selects the product in the sale.order)
How can i do this?
To be more precise, the plan is being generated with EventBoothConfigurator.
Basically, i want a way to programatically set the attachement of an email from a sale.order. How is this possible?