c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36244
[Bug 885299] [NEW] Product Cost Structure report crashes on &
Public bug reported:
One of the work centers in the DB has an & in the name. If I try to
print a Product Cost Structure report of a product which uses this work
center, I get the following error:
xmlParseEntityRef: no name, line 172, column 43
(<class 'lxml.etree.XMLSyntaxError'>,
XMLSyntaxError(u'xmlParseEntityRef: no name, line 172, column 43',),
<traceback object at 0x44f8e18>)
Steps to reproduce:
* Define a work center at Manufacturing -> Configuration -> Resources -> Work Centers, call it e.g. Pick & Pack
* Define a product which uses this work center
* Use the 'Product Cost Structure' button to print a report
Possible workaround: rename the work center to e.g. 'Pick and Pack'
If I modify openobject-server/6.0/bin/report/interface.py to replace '&'
with '&' in create_rml (line 136), I don't see the error but the &
doesn't show up in the report either, so that's not the solution I'm
looking for.
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/885299
Title:
Product Cost Structure report crashes on &
Status in OpenERP Server:
New
Bug description:
One of the work centers in the DB has an & in the name. If I try to
print a Product Cost Structure report of a product which uses this
work center, I get the following error:
xmlParseEntityRef: no name, line 172, column 43
(<class 'lxml.etree.XMLSyntaxError'>,
XMLSyntaxError(u'xmlParseEntityRef: no name, line 172, column 43',),
<traceback object at 0x44f8e18>)
Steps to reproduce:
* Define a work center at Manufacturing -> Configuration -> Resources -> Work Centers, call it e.g. Pick & Pack
* Define a product which uses this work center
* Use the 'Product Cost Structure' button to print a report
Possible workaround: rename the work center to e.g. 'Pick and Pack'
If I modify openobject-server/6.0/bin/report/interface.py to replace
'&' with '&' in create_rml (line 136), I don't see the error but
the & doesn't show up in the report either, so that's not the solution
I'm looking for.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/885299/+subscriptions
Follow ups
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: qdp (OpenERP), 2011-11-04
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: qdp (OpenERP), 2011-11-04
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Launchpad Bug Tracker, 2011-11-04
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Kirti Savalia(OpenERP), 2011-11-04
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Erik Heeren, 2011-11-03
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Kirti Savalia(OpenERP), 2011-11-03
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Naresh(OpenERP), 2011-11-03
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Amit Parik (OpenERP), 2011-11-03
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Naresh(OpenERP), 2011-11-03
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Launchpad Bug Tracker, 2011-11-03
-
[Bug 885299] Re: Product Cost Structure report crashes on &
From: Amit Parik (OpenERP), 2011-11-03
-
[Bug 885299] [NEW] Product Cost Structure report crashes on &
From: Erik Heeren, 2011-11-02
References