Odoo Help


deleting product in warehouse error

on 9/10/13, 6:25 AM 3,786 views


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]

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.

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.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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