How I can call a report from a button (type = 'object') or (type = 'action'), for example, I have created a report of type:
<report id="action_products_consume_report"
string="Products"
model="mrp.production"
report_type="qweb-pdf"
file="mrp.products_consume_document"
name="mrp.products_consume_document" />
and I need to call the same report from a button inside a tree view,
Thanks