Skip to Content
Menu
This question has been flagged
4 Replies
7594 Views

I tried to delete a product and got this 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: Quants - stock.quant]

So I tried to set the products stock level to zero, but then I get this 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: Change Product Quantity - stock.change.product.qty]
Avatar
Discard
Author Best Answer

Ermin Trevisan: Thanks for your answer, but If I set the product inactive it will still show up in the Inventory valuation report and other places, which I don't want.

I'm hoping to delete/get rid of all the products in the system because I want to rebuild them from scratch. I also wanted to delete all the old warehouses but they show up on the reports as well.

Avatar
Discard
Best Answer

It is recommended to set the product inactive instead trying to delete it.

Avatar
Discard
Best Answer

+1, I am having the same issue. Help!

Avatar
Discard
Best Answer

Hi all, Please refer the following link \https://www.odoo.com/forum/help-1/question/inventory-locations-current-stock-146643#answer-146649. The same issue discussed in form and ho this help you

Avatar
Discard
Related Posts Replies Views Activity
3
Aug 24
287
2
Oct 22
1638
0
Aug 21
1204
1
Aug 20
3159
1
Mar 15
3070