This question has been flagged
2 Replies
5858 Views

Hi , i need to call pentaho reports from openerp by clicking on the button

Avatar
Discard

I also hve the same need any one please help

i same problem

I Corrected issue check this http://help.openerp.com/question/27057/pop-window-for-report-printing/?comment=29399#comment-29399

Best Answer

hi, i cant see any pentaho menu in openerp. can anyone give hint y is it so ?

Avatar
Discard
Author

Settings ->Actions --> report here you can add your penatho reports

I am getting an error on Model when I try to setup a Pentaho report in Odoo 8

Author Best Answer

def print_invoice(self, cr, uid, ids, context=None): rep_obj = self.pool.get('ir.actions.report.xml') res = rep_obj.pentaho_report_action(cr, uid, 'report_name', ids,None,None) return res

report_name = the name of report you have uploaded in openerp server

You need to install pentaho reports for openerp and you need to add the report under pentaho report that will be stored in database

Avatar
Discard

i tried and it don't work ! how to define pentaho report in xml ? report_name = id of <report ...> in xml ? thank !

Sorry spam, it work but it must create pentaho report in client, how to define in xml ? thank !

thank, but i want to add the report in xml, don't in client ! i want to add report when install module !