Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2026 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar