Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7708 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

@Sudhir Arya

Understood, thank you very much for the help.


Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 2 25
3669
1
thg 10 24
1139
0
thg 7 24
955
1
thg 3 24
1055
Out of Stock Đã xử lý
4
thg 2 24
3830