Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4248 Weergaven

Hello,

I would like to share this way to call a jasper report, from openerp 7 using http:

1- Execute the report that you want to include in openerp, from jasperserver and copy the url show in your browser.

2- Create a button or function in openerp code:

def report1(self, cr, uid, ids, context=None): if context is None: context = {}

    url = <urlcopiedfromexecute>&j_username=jasperadmin&j_password=jasperadmin" <- "here you can change your username and password"
    return {
        'type' : 'ir.actions.act_url',
        'url' : url,
        'target' : 'new',
    }

Hope this help!!

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 20
15567
1
aug. 15
4547
3
aug. 15
13958
5
jun. 15
24156
3
aug. 19
9749