Odoo Help


5 Answers
Gary Dunnaway United States
10/15/13, 2:42 PM

This is about the only information I can find about using Syleam's Jasperserver module. I still don't understand it, though. I have it installed, and I really have no idea where to go from here.

Marcelo Hamra Argentina
1/2/14, 12:14 PM

Hi Oscar, have your tried an XML report using SYLEAM jasper_server module?

I receive the following answer after SOAP call:

<faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>

Any clue?

Another question: does openerp send the id/s of the selected rows when you launch the report from the sidebar in a tree view? Does it send the ids in a jasperreport parameter?


Paula Neves Portugal
2/6/14, 7:47 AM

Hello there.

So me and some collegues of mine have been trying to actually put this to work but we still havent managed to do this, i think there is something wrong with the class that we have created but we don't know.

# *****************************************************
# JASPER - início
# *****************************************************

class hr_contract_jasper(osv.osv):


    def relatorio_contrato_consultor(self, cr, uid, ids, context=None):

        res = self.pool.get('hr.contract').browse(cr, uid, ids, context=context)[0]

        data = {}
        data['model'] = 'hr.contract.jasper'
        data['jasper'] = {
            'IDCONTRACTO': res.id,

        #raise osv.except_osv('Error !', _(data))
        #data = {'model': 'hr.contract.jasper', 'jasper': {'IDCONTRACTO': 897}}

        if hasattr(cur_obj, 'company_id') and cur_obj.company_id:
        File "/opt/openerp-source/server/openerp/osv/orm.py", line 497, in __getattr__
        return self[name]
        File "/opt/openerp-source/server/openerp/osv/orm.py", line 385, in __getitem__

        return {
                'type'          : 'ir.actions.report.xml',
                'report_name'   : 'jasper.report_1',
                'datas'         : data,


# *****************************************************
# JASPER - fim
# *****************************************************

Can you see if there is something wrong with this?

I am almost 100% sure that the way we are handling the other parts of the toturial are correct.

Thanks in advance.

PS: if you could provide a video i would be gladly appreciated.

ARRA Jean Jonathan Côte d'Ivoire
11/18/13, 9:48 AM

Hi Mister Oscar, I have a problem about the parameters in jaspserserver I don't know how can I create a parameters to link that ith my jasperserver. Pleas help me

Oscar Cascante F Costa Rica
11/1/13, 1:27 PM


Sorry about the delay...

In openerp->settings->jasper documents-> you create a new report. Here, you have a field name: Service name. This is the name you have to use. About the jasper report name, is the name used in jasperreport server.

Hope this help

Ask a Question
Keep Informed
4 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now