c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23335
[Bug 776213] Re: Report webkit can't handle certain report names
Hello,
Thanks for the reporting and I am confirming this issue.
The patch is working fine.
Thanks again.
** Summary changed:
- [6.0] Report webkit can't handle certain report names
+ Report webkit can't handle certain report names
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => Nicolas Bessi - Camptocamp (nbessi-c2c)
--
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:
Report webkit can't handle certain report names
Status in OpenERP Modules (addons):
Confirmed
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.
References