~openerp-dev/openobject-client/trunk-dev-client

« back to all changes in this revision

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

  • Committer: Naresh(OpenERP)
  • Date: 2011-02-01 09:57:52 UTC
  • mfrom: (1369.10.109 client)
  • Revision ID: nch@tinyerp.com-20110201095752-dfjlb0apnmbqi6jo
[MERGEĀ FROMĀ TRUNK]

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