Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7744 มุมมอง

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

อวตาร
ละทิ้ง

@Sudhir Arya

Understood, thank you very much for the help.


คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.พ. 25
3739
1
ต.ค. 24
1216
0
ก.ค. 24
1007
1
มี.ค. 24
1101
Out of Stock แก้ไขแล้ว
4
ก.พ. 24
3901