← Back to team overview

credativ team mailing list archive

[Bug 819334] Re: Webkit-based reports aren't properly translated

 

Calling security alert on this commit, tempfile.mktemp is unsecure and
the current way its used will very likely produce strange results in
high concurrency enviroments where multiple webkit reports will be
running simultaneously !

-- 
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