Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Getting Error while restoring Openerp database

By
Ron
on 4/10/14, 5:35 AM 953 views

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 !!

0

Nehal

--Nehal--
2090
| 5 2 8
Ahmadabad, India
--Nehal--
Nehal
On 4/10/14, 6:13 AM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/10/14, 5:35 AM
Seen: 953 times
Last updated: 3/16/15, 8:10 AM