generating costs of a product XML error

Bug #887183 reported by Johan Smits
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

I want to create a cost of product But I get an XML error.
The products do not contain the & sign.

This is the error message:
ERROR:web-services:[16]: XMLSyntaxError: xmlParseEntityRef: no name, line 4, column 39
ERROR:web-services:[01]: Exception: xmlParseEntityRef: no name, line 4, column 39
ERROR:web-services:[02]: Traceback (most recent call last):
ERROR:web-services:[03]: File "/opt/openerp/server/bin/service/web_services.py", line 724, in go
ERROR:web-services:[04]: (result, format) = obj.create(cr, uid, ids, datas, context)
ERROR:web-services:[05]: File "/opt/openerp/server/bin/report/interface.py", line 90, in create
ERROR:web-services:[06]: rml = self.create_rml(cr, xml, uid, context)
ERROR:web-services:[07]: File "/opt/openerp/server/bin/report/interface.py", line 179, in create_rml
ERROR:web-services:[08]: transform(etree.fromstring(xml)))
ERROR:web-services:[09]: File "lxml.etree.pyx", line 2532, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48270)
ERROR:web-services:[10]: File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71812)
ERROR:web-services:[11]: File "parser.pxi", line 1424, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70673)
ERROR:web-services:[12]: File "parser.pxi", line 938, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:67442)
ERROR:web-services:[13]: File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63824)
ERROR:web-services:[14]: File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64745)
ERROR:web-services:[15]: File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088)

It is a fresh installation of 6.0.3 on Ubuntu 10.04

Revision history for this message
Johan Smits (johan-smits) wrote :

The cause is found
Our company name had an & sign in it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.