mirror of
https://gitlab.com/datalifeit/trytond-account_es_sii
synced 2023-12-14 06:13:02 +01:00
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:
parent
c2b77f3729
commit
ae38172404
1 changed files with 2 additions and 2 deletions
4
tools.py
4
tools.py
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue