Widget box_produits_alerte_stock

I changed line 96 and removed the check on products for sell.
We need a widget which displays also the products we need to buy.

Can this be a switch in the widget-definiition?

Hello

Your post is a little confusing. Which file have you changed and why? ?? Have you detected a bug or is it a trick/feature?

Hi,
I was not very clear.
The current widget which alerts on low stock only alerts for productschap which can be sold. We need also a warning for products we use for manufacturinf and can be purchased, not sold.

Ik changed the Sql-statement in htdocs/core/boxes/box_produits_alerte_stock.php:
On line 96 I removed the check for products for sale.

But this is not the way it should be. Can this be a switch?

Btw, I’m running on v9.

Ah ok, I’m not so sure. But v9 is not officially released yet - still going through testing fro what I know