Not replace space in unaccent

From changeset-260953619f49 replace accents and other characters from company, party and description fields to send to AEAT
This commit is contained in:
Raimon Esteve 2017-07-21 09:13:53 +02:00
parent c2b77f3729
commit ae38172404

View file

@ -3,9 +3,9 @@
# copyright notices and license terms.
import unicodedata
src_chars = """ '"()/*-+?¿!&$[]{}@#`'^:;<>=~%,\\"""
src_chars = """'"()/*-+?¿!&$[]{}@#`'^:;<>=~%,\\"""
src_chars = unicode(src_chars, 'iso-8859-1')
dst_chars = """________________________________"""
dst_chars = """_______________________________"""
dst_chars = unicode(dst_chars, 'iso-8859-1')
def normalize(text):