[FIX] odoo.sh: Make unidecode description more specific
The original description says calling unidecode will remove special characters, but this is not entirely accurate. For example, when I inserted unicode emojis in the name, they were not removed. I was then confused whether my module had correctly updated or not. Instead, what unidecode will do is convert text characters to their nearest ASCII equivalent, so "trés" becomes "tres" for example. The description has been updated to reflect that.
This commit is contained in:
parent
b87e51a130
commit
93ae6ca2bd
@ -447,7 +447,7 @@ Add
|
||||
|
||||
unidecode
|
||||
|
||||
Then use the library in your module, for instance to remove any special characters in the name field of your
|
||||
Then use the library in your module, for instance to remove accents from characters in the name field of your
|
||||
model.
|
||||
|
||||
Open the file *models/models.py*.
|
||||
|
Loading…
Reference in New Issue
Block a user