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

Bonjour, 


Comment supprimer un article avec le message suivant svp 


Erreur de validation

L'opération ne peut pas être terminée : un autre modèle nécessite la suppression de l'enregistrement. Si possible, archivez-le à la place. Modèle : Sales Order Line (sale.order.line) Contrainte : sale_order_line_product_id_fkey

Аватар
Отменить
Лучший ответ

Bonjour,

Vous ne pouvez pas supprimer un produis qui à été vendu ou autres.

"un autre modèle nécessite" c'est soit que vous avez venu  ou fait une offre de prix pour cette article ou que vous avez lis mi stock.

Vous devez l'archiver.

Avant d'archiver, mettez le stock à 0 pour évité des erreurs de valorisation du stock.

Jean. 

Аватар
Отменить

Hello,
You cannot delete a product that has been sold or otherwise.
"Another model is required" means that you have either visited or made a price offer for this item or that you have read my stock. You must archive it.
Before archiving, set the stock to 0 to avoid inventory valuation errors.

Jean.

Лучший ответ

If your system allows archiving records, try archiving instead of deleting. Archiving hides the record from the user interface without breaking any associated data constraints.

Аватар
Отменить
Лучший ответ

Ah, la suppression de produits dans Odoo, toute une histoire ! Toujours lié à quelque chose, hein ? L'archivage est souvent la meilleure solution, mais faut pas oublier de gérer le stock avant ! C'est bien expliqué ici, ça aide.

Аватар
Отменить