Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5158 Vistas

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 ? 

Avatar
Descartar
Mejor respuesta

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.

Avatar
Descartar
Autor

thanks waleed

Publicaciones relacionadas Respuestas Vistas Actividad
0
jul 25
1875
2
nov 24
7452
2
oct 24
4155
2
ago 24
2334
3
jul 24
8797