Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
13637 Widoki

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]

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć