Skip to Content
Menu
This question has been flagged
2 Replies
7176 Views

Hello!

I have had a problem for a quite while where Odoo wont allow me to delete a product from product list, the product has been active in POS and websites shop. When the product gets bought, I am for some reason unable to delete it. I can archive and modify the product from its configurations at ease, however deleting is the only thing it wont allow.

It gives the following error every time I'm trying to do it;

The operation cannot be completed:
- Create/update: a mandatory field is not set.
- Delete: another model requires the record being deleted. If possible, archive it instead.

Model: Change Product Quantity (stock.change.product.qty), Field: Template (product_tmpl_id)


I'm quite new to Odoo tbh so I got some trouble understading the terms etc. But from what I believe I understand from that there are some problems with the amount of stock items. (I guess) I do not understand however as what and why does it reference to a product template id. Any help would be much appreciated.

Thank You.


using Odoo V12

Avatar
Discard

@Sudhir Arya

Understood, thank you very much for the help.


Best Answer

You cannot delete the product since there are lots of records which have reference of it like: Inventory, Manufacturing, etc.

Better to Disable / Archive the product.

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 24
187
0
Jul 24
242
1
Mar 24
364
4
Feb 24
2436
0
Dec 23
650