Commit 0df2fad6 authored by Rafael Monnerat's avatar Rafael Monnerat

Added the number without mask if the telephone regex is not able to handle the input.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21657 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a8ea9d3b
...@@ -182,6 +182,7 @@ class Telephone(Coordinate, Base): ...@@ -182,6 +182,7 @@ class Telephone(Coordinate, Base):
msg = "Doesn't exist a regex to handle this telephone: ", \ msg = "Doesn't exist a regex to handle this telephone: ", \
coordinate_text coordinate_text
LOG('Telephone.fromText', WARNING, msg) LOG('Telephone.fromText', WARNING, msg)
self.edit(telephone_number = input_without_markup)
return return
number_dict = number_match.groupdict() number_dict = number_match.groupdict()
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment