'Odoo Graph from two separate modules report

I'm interested in how I can combine graph report data, from two different modules(sales and purchase). Should I do it in the init method in separate models?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source