Skip to Content
Menu
This question has been flagged
1 Reply
1379 Views

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
Discard
Author Best Answer

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
Discard