~ovnicraft/openobject-client/client-decimal-separator-fixed

« back to all changes in this revision

Viewing changes to bin/widget/view/tree_gtk/parser.py

  • Committer: Cristian Salamea
  • Date: 2011-06-27 14:03:04 UTC
  • Revision ID: ovnicraft@gmail.com-20110627140304-oyjaohowf7ox1v0w
[FIX] apply patch from trunk to fix decimal separator; bug related #697625

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
class Int(Char):
344
344
 
345
345
    def value_from_text(self, model, text):
346
 
        return tools.str2int(text)
 
346
        return user_locale_format.str2int(text)
347
347
 
348
348
    def get_textual_value(self, model):
349
349
        count = False
472
472
        return converted_val
473
473
 
474
474
    def value_from_text(self, model, text):
475
 
        return tools.str2float(text)
 
475
        return user_locale_format.str2float(text)
476
476
 
477
477
class FloatTime(Char):
478
478