← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 843995] [NEW] progressbar problem with german translation

 

Public bug reported:

For example: a value of 12.34 will be translated into 12,34 (german notation).
CSS can't parse the value '12,34%' as a correct width-value.

Workaround (not nice):
File /addons/openerp/widgets/form/templates/progressbar.moku
change: <div style="width: ${value}%;"></div>
in: <div style="width: ${str(value).replace(',', '.')}%;"></div>

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

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

Title:
  progressbar problem with german translation

Status in OpenERP Web Client:
  New

Bug description:
  For example: a value of 12.34 will be translated into 12,34 (german notation).
  CSS can't parse the value '12,34%' as a correct width-value.

  Workaround (not nice):
  File /addons/openerp/widgets/form/templates/progressbar.moku
  change: <div style="width: ${value}%;"></div>
  in: <div style="width: ${str(value).replace(',', '.')}%;"></div>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/843995/+subscriptions


Follow ups

References