Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
10752 Vistas

There are no records of the product but still I cant delete it. I get the :

The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead.

Model: Stock Move (stock.move), Constraint: stock_move_product_id_fkey

What should I do? Also I cant delete some product categories.
I am new to odoo and try to get the hand of it before I use it for my business.

Thank you.

Avatar
Descartar
Mejor respuesta

This is because you have created stock moves for this product. Stock moves can be found under Inventory module. You first have to delete the stock move for this product from database then you should be able to delete product.

Avatar
Descartar
Mejor respuesta

Constraint message gave you other option (archive it instead)

Avatar
Descartar
Mejor respuesta

Hi, 

You have two options here :

1. You can delete this product if you delete all the records you created related to this product.

2. Archive this product

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
oct 22
2960
1
ago 20
4271
1
mar 15
34108
1
mar 15
1403
1
mar 15
3732