Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3980 มุมมอง

i backup db from odoo 15 and restored it in odoo 16 ..

At the time of restoring it gives error as follows

Database restore error: operator does not exist: character varying ->> unknown LINE 1: SELECT *, name->>'en_US' AS name FROM ir_model WHERE state =... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You cannot restore V 15 DB to V16 because there are many changes in the DB table structure between the versions.

You need to migrate your database 

If you are using Enterprise Edition 

Create an upgrade request to v16 migration

https://upgrade.odoo.com/

if you are using the community edition use Openupgrade scripts 

https://www.odoo.com/documentation/16.0/administration/upgrade.html

https://github.com/OCA/OpenUpgrade

Regards

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks a million.

But in my case, i'm using docker for handling odoo and postgres

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.พ. 25
13690
6
มิ.ย. 25
14654
1
เม.ย. 24
2103
1
พ.ค. 25
2401
1
เม.ย. 25
3425