Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2148 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar