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

deleting product in warehouse error

By
niraj
on 9/10/13, 6:25 AM 2,084 views

Hi

I am deleting the product from the warehouse in that I am getting the following error attached here.

Integrity Error

The operation cannot be completed, probably due to the following: - deletion: you may be trying to delete a record while other records still reference it - creation/update: a mandatory field is not correctly set

[object with reference: Stock Move - stock.move]

0
kaynis
On 9/10/13, 7:42 AM

Make sure you have deleted all the places where this product have been used in the system. As suggested by Sridhar, check the stock move to see where this product appears MRP, SO, PO, etc and delete all the document or remove the product from them. Then try again. If you have already made a delivery order and received payment on the goods, then this might be a problem because you might not be able to reset this back to draft and thus might not be able to delete/remove the product. This is because you will mess with the accounting process.

0
sridhar
On 9/10/13, 6:55 AM

This product having any entry like, Sale Order or Purchase Order. If want to delete, Cancel the Incoming Shipment or Delivery Order and then Cancel Accounting and Sale Order and Purchase Order.

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

1 follower(s)

Stats

Asked: 9/10/13, 6:25 AM
Seen: 2084 times
Last updated: 3/16/15, 8:10 AM