Ignore:
Timestamp:
7 Jul 2012, 21:14:56 (12 years ago)
Author:
Henrik Bettermann
Message:

Use hash symbol also for phone numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/widgets/phonewidget.py

    r8169 r8937  
    112112        For the extension line we silently allow slashes as well.
    113113        """
     114        # In import files we can use the hash symbol at the end of a
     115        # date string to avoid annoying automatic number transformation
     116        # by Excel or Calc
     117        input = input.strip('#')
    114118        result = super(PhoneWidget, self)._toFieldValue(input)
    115119        parts = input.split('-', 2)
Note: See TracChangeset for help on using the changeset viewer.