Solved:
Started by copying from odoo/odoo/addons/event/report/report_event_registration.py and edited step by step to my models.
Its amazing what views of the data you can achive easily with odoo.
Setup:
I have a table X with a many2one relation to table Y. Then there is a one2many relation from table Y to table Z.
I would like to show data from table Z on the graph view called from table X. Somebody could point to a code snippet please?
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
There is a slideshow which says that a graph view over multiple tables is possible with a posgresql-view in which the needed data is collected:
http://de.slideshare.net/openobject/business-intelligence-35790564
I found an old description, but the synthax changed a lot I think:
http://blog.instant-erp.com/2010/09/advanced-modeling-reporting-from.html
Could somebody please point at a newer example to start understanding with?
Some good file in th odoo code serves as well - I have no luck surfing around in the code.