credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #03730
[Bug 819334] Re: Webkit-based reports aren't properly translated
Sorry, just as I posted I saw prefix,suffix usage so wont have problems
in high concurrency usage,
however the security problem with tempfile.mktemp still stands, use
either tempfile.mkstemp or the solution explained here :
http://docs.python.org/library/tempfile.html#tempfile.mktemp
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/819334
Title:
Webkit-based reports aren't properly translated
Status in OpenERP Server:
Fix Released
Bug description:
server revno 3468
addons revno 4739
Steps:
- Install 'report_webkit_sample'
- Install Italian language
- Export it.po for 'report_webkit_sample' module by Administration menu
You'll see lines like these
#. module: report_webkit_sample
#: report:addons/report_webkit_sample/report/report_webkit_html.mako:35
msgid "Supplier Invoice"
msgstr "Supplier Invoice"
while they should be as follows
#. module: report_webkit_sample
#: report:report.webkitaccount.invoice:35
msgid "Supplier Invoice"
msgstr "Fattura Fornitore"
Due to the line
#: report:addons/report_webkit_sample/report/report_webkit_html.mako:35
translation couldn't correctly imported.
So, if you make your own custom report, you have to manually edit
those lines in order to import terms correctly
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/819334/+subscriptions