コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5486 ビュー

I was migrating my openerp database from one server to another. And while restoring database on another server I am geting this error

ALTER TABLE ERROR: insert or update on table "stock_move" violates foreign key constraint "stock_move_product_id_fkey" DETAIL: Key (product_id)=(2466) is not present in table "product_product". ALTER TABLE

Please Suggest !!

アバター
破棄
最善の回答

You might not have the Product with id = 2466 in the product_product table which is used as foreign key in stock_move table. You can create product with id = 2466 in product_product as a solution.

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 15
3192
0
3月 15
3539
1
2月 18
10603
0
2月 25
1604
2
1月 25
8227