Thank you for your response. I try the first option about changing the 'action_create_xml' function in "/jasper_reports/wizard/jasper_create_data_template.py". But I get this error from my logs
====================================================================================================
Traceback (most recent call last):
File "/opt/openerp/server-7/openerp/netsvc.py", line 293, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server-7/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server-7/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server-7/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server-7/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server-7/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server-7/openerp/addons/jasper_reports/wizard/jasper_create_data_template.py", line 58, in action_create_xml
raise osv.except_osv((''),("%s") % (base64.encodestring( xml )))
except_osv: ('', 'PGRhdGE+PHJlY29yZD48aWQ+MTwvaWQ+PEFjdGl2ZS1hY3RpdmU+YWN0aXZlPC9BY3RpdmUtYWN0\naXZlPjxBY3R1YWxfQ29zdC1hY3R1YWxfY29zdD4xMjM0NS42NzwvQWN0dWFsX0Nvc3QtYWN0dWFs\nX2Nvc3Q+PEFjdHVhbF9Qcm9maXQtYWN0dWFsX3Byb2ZpdD4xMjM0NS42NzwvQWN0dWFsX1Byb2Zp\ndC1hY3R1YWxfcHJvZml0PjxQbGFubmVkX1Rhc2tfTGluZS1hY3R1YWxfdG
....................
====================================================================================================
actually the scrambled letters and number is too long so I just represent it with several dot :)
I'm looking forward to try your second option. I might just need your help for more specific steps or details how to get in to the server, and save the content of the xml file.
Hello Scribder,
Thank you for your response. I try the first option about changing the 'action_create_xml' function in "/jasper_ reports/ wizard/ jasper_ create_ data_template. py". But I get this error from my logs ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == server- 7/openerp/ netsvc. py", line 293, in dispatch_rpc getService( service_ name).dispatch( method, params) server- 7/openerp/ service/ web_services. py", line 626, in dispatch server- 7/openerp/ osv/osv. py", line 188, in execute_kw server- 7/openerp/ osv/osv. py", line 131, in wrapper server- 7/openerp/ osv/osv. py", line 197, in execute server- 7/openerp/ osv/osv. py", line 185, in execute_cr server- 7/openerp/ addons/ jasper_ reports/ wizard/ jasper_ create_ data_template. py", line 58, in action_create_xml osv(('' ),("%s" ) % (base64. encodestring( xml ))) PHJlY29yZD48aWQ +MTwvaWQ+ PEFjdGl2ZS1hY3R pdmU+YWN0aXZlPC 9BY3RpdmUtYWN0\ naXZlPjxBY3R1YW xfQ29zdC1hY3R1Y WxfY29zdD4xMjM0 NS42NzwvQWN0dWF sX0Nvc3QtYWN0dW Fs\nX2Nvc3Q+ PEFjdHVhbF9Qcm9 maXQtYWN0dWFsX3 Byb2ZpdD4xMjM0N S42NzwvQWN0dWFs X1Byb2Zp\ ndC1hY3R1YWxfcH JvZml0PjxQbGFub mVkX1Rhc2tfTGlu ZS1hY3R1YWxfdG ....... ...... ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
Traceback (most recent call last):
File "/opt/openerp/
result = ExportService.
File "/opt/openerp/
res = fn(db, uid, *params)
File "/opt/openerp/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
raise osv.except_
except_osv: ('', 'PGRhdGE+
.......
=======
actually the scrambled letters and number is too long so I just represent it with several dot :)
I'm looking forward to try your second option. I might just need your help for more specific steps or details how to get in to the server, and save the content of the xml file.
Thank you and more power,