c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23213
[Bug 776213] [NEW] [6.0] Report webkit can't handle certain report names
Public bug reported:
We are using the report webkit module and ran into a small problem.
The module can't handle report_xml.name values with special characters in them.
Specifically the ones that are not allowed to be used in filenames.
Take for example the 'Quotation / Order' report. The module will try to create a file with the name 'Quotation/Order'.
But this would mean that the file would be placed in a 'Quotation' folder, which isn't (and shouldn't be) happening.
So we used an expression to remove any non-alphanumeric characters from the report names.
This can be found in the attached patch.
Running Ubuntu 10.04 LTS with OpenERP 6.0.1.
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: report webkit
--
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/776213
Title:
[6.0] Report webkit can't handle certain report names
Status in OpenERP Modules (addons):
New
Bug description:
We are using the report webkit module and ran into a small problem.
The module can't handle report_xml.name values with special characters in them.
Specifically the ones that are not allowed to be used in filenames.
Take for example the 'Quotation / Order' report. The module will try to create a file with the name 'Quotation/Order'.
But this would mean that the file would be placed in a 'Quotation' folder, which isn't (and shouldn't be) happening.
So we used an expression to remove any non-alphanumeric characters from the report names.
This can be found in the attached patch.
Running Ubuntu 10.04 LTS with OpenERP 6.0.1.
Follow ups
References