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

odoo.addons.base.models.ir_qweb.QWebException: Error while render the template

UndefinedFunction: function unaccent_schema.unaccent(unknown, text) does not exist

LINE 2:                 SELECT unaccent_schema.unaccent('unaccent_sc...

                               ^

HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

QUERY:  

                SELECT unaccent_schema.unaccent('unaccent_schema.unaccent', $1)

                

CONTEXT:  SQL function "unaccent" during inlining


Template: web.frontend_layout

Path: /t/html/head/t[1]

Node:

Avatar
Cancelar
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
Publicações relacionadas Respostas Visualizações Atividade
3
fev. 24
5319
1
out. 20
4270
2
mar. 15
3566
0
dez. 21
1969
2
fev. 19
9122