Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
7743 Представления

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
1095
Out of Stock Решено
4
февр. 24
3896