Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
11017 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

Constraint message gave you other option (archive it instead)

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
říj 22
3122
1
srp 20
4409
1
bře 15
34467
1
bře 15
1403
1
bře 15
3858