c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27630
[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 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