Skip to Content
Menu
This question has been flagged

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
Discard
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
Related Posts Replies Views Activity
3
Feb 24
5309
1
Oct 20
4245
2
Mar 15
3556
0
Dec 21
1961
2
Feb 19
9110