Skip to Content
Menu
This question has been flagged
1 Reply
4907 Views
Hello,
I am using Odoo16 Enterprise edition with postgresql version 14.8
and I am facing this error.
I am looking forward to your solutions.
Thank you.


self._cr.execute(f''' File "/opt/odoo16/odoo/odoo/sql_db.py", line 321, in execute res = self._obj.execute(query, params) psycopg2.errors.UndefinedFunction: function substring(jsonb, integer, integer) does not exist LINE 2: ... select am.id,am.invoice_date as ldate, SUBSTRING(... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
Avatar
Discard
Best Answer

Hi,

You have to PostgreSQL version higher than 12 for odoo 16.

Thanks

Avatar
Discard
Author

I am using the PostgreSQL version 14.8 and still I am getting the Error.

Related Posts Replies Views Activity
1
May 25
2460
1
Apr 25
3479
1
Apr 25
4309
1
Apr 25
1787
4
Mar 25
6898