Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2057 Widoki

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"

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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.

Awatar
Odrzuć