Skip to main content


Odoo has multiple functions, which can be called in the custom modules to perform different actions. We know that the send_email() method can be called to send an email bypassing required data in it. Also, we can generate pdf reports in different methods from the code. Suppose we need to send an email with the respective report of the customer, In this case, we need to generate the report and send an email with an attachment.