Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2157 Vues

Is there a way to rolling back from unaccent=True to unaccent=False?

unaccent is an option that allows you to enable searching record while ignoring accent?

for example if you are searching for a record with a name "Hôtel",  if unaccent is enable, searching with "Hotel" will retrieve you record with a name "Hôtel"

Avatar
Ignorer
Auteur Meilleure réponse

I finally found the solution.

I had to execute this sql request: DELETE FROM pg_proc WHERE proname='unaccent';
Because it seems like Odoo still detects the database as in unaccent mode.

Avatar
Ignorer