i have a lot of products i didn`t use , 0 sale 0 purchase 0 qty . i want to delete all this products . which method should i use
code ORM unlike , or from database ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi,
Always don't use DB if you don't know the consequences.
You can archive them, You will filter them from list view, select them and from actions menu select Archive.
If you want to delete them completely, You can filter them from list view, select them and from actions menu select delete.
If you can select them from list view, you can write code on product_template model and use ORM unlink.
thanks waleed
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
juil. 25
|
1857 | ||
|
2
nov. 24
|
7428 | ||
|
2
oct. 24
|
4138 | ||
|
2
août 24
|
2326 | ||
|
3
juil. 24
|
8789 |