c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27632
Re: [Bug 803466] Re: When I try and create a XML Document using res.partner object throws an error
Christophe,
I am using the latest ver 6.5.7 of the jasper_server module running on OpenERP 6.0.2. I am running on Jasper Server 4.0 CE edition.
The server is runnning Ubuntu 10.04 LTS
Many Thanks
Simon Vass
Managing Director
E-Tech Uganda Ltd
http://www.etech.ug
Tel: +256 (0) 312260620 or (0) 312260621
email: service_desk@xxxxxxxx
skype: e-techservicedesk
----- Original Message -----
From: "Christophe Chauvet - http://www.syleam.fr/" <803466@xxxxxxxxxxxxxxxxxx>
To: svass@xxxxxxxx
Sent: Wednesday, 29 June, 2011 7:17:04 PM
Subject: [Bug 803466] Re: When I try and create a XML Document using res.partner object throws an error
In which version and revision ?
--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/803466
Title:
When I try and create a XML Document using res.partner object throws
an error
Status in JasperServer module for OpenERP:
New
Bug description:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 636, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 663, in exp_execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 645, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 177, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 72, in execute_cr
action_res = action(self, cr, uid, data, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/wizard/make_template.py", line 75, in _generate
buf.write(j_obj.generator(cr, uid, form['model'], form['model_id'], form['depth'], context=context))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/object/oojasper.py", line 253, in generator
root.append(self.generate_xml(cr, uid, model, id, depth, context=context))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/object/oojasper.py", line 231, in generate_xml
e = self.generate_xml(cr, uid, mod_fields[f]['relation'], value, depth - 1, relation, field)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/object/oojasper.py", line 210, in generate_xml
value = mod[f]
TypeError: string indices must be integers, not str
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-jasperserver/+bug/803466/+subscriptions
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/803466
Title:
When I try and create a XML Document using res.partner object throws
an error
Status in JasperServer module for OpenERP:
New
Bug description:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 636, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 663, in exp_execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 645, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 177, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 72, in execute_cr
action_res = action(self, cr, uid, data, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/wizard/make_template.py", line 75, in _generate
buf.write(j_obj.generator(cr, uid, form['model'], form['model_id'], form['depth'], context=context))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/object/oojasper.py", line 253, in generator
root.append(self.generate_xml(cr, uid, model, id, depth, context=context))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/object/oojasper.py", line 231, in generate_xml
e = self.generate_xml(cr, uid, mod_fields[f]['relation'], value, depth - 1, relation, field)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_server/object/oojasper.py", line 210, in generate_xml
value = mod[f]
TypeError: string indices must be integers, not str
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-jasperserver/+bug/803466/+subscriptions
References