There is some changes in 6.1 which have to be resolved in code change from previous version to be compatible with new 6.1 version. To provide installable module on 6.1 version for jasper_server addon, here are changes in code:
3. As mentioned from Enapps : there is no 'object' field in ir.values, so comment 'object' = True args.
After that module will install in 6.1, and is working from desktop client.
From web client it is not working, you can't call the report, because of bug/934068
It is something with report_soap.py and line in method _jasper_execute:
cur_obj = self.model_obj.browse(self.cr, self.uid, ex, context=context)
error line: openerp.netsvc: 'NoneType' object has no attribute 'browse'
it is defined in __init__ as: self.model_obj = self.pool.get(self.model)
There is some changes in 6.1 which have to be resolved in code change from previous version to be compatible with new 6.1 version. To provide installable module on 6.1 version for jasper_server addon, here are changes in code:
jasper_document.py : print_multi' , doc.name, [doc.model_ id.model] , value, replace=False, isobject=True) get('ir. model.data' ).ir_set( cr, uid, 'action', 'client_ print_multi' , doc.name, [doc.model_ id.model] , value, replace=False, isobject=True)
1. comment # include ir
2. replace:
ir.ir_set(cr, uid, 'action', 'client_
with:
self.pool.
(or just remove ir. prefix)
3. As mentioned from Enapps : there is no 'object' field in ir.values, so comment 'object' = True args.
After that module will install in 6.1, and is working from desktop client.
From web client it is not working, you can't call the report, because of bug/934068
It is something with report_soap.py and line in method _jasper_execute: obj.browse( self.cr, self.uid, ex, context=context) get(self. model)
cur_obj = self.model_
error line: openerp.netsvc: 'NoneType' object has no attribute 'browse'
it is defined in __init__ as: self.model_obj = self.pool.
g.c.