Forum_Admin
Hello, we also struggle with the 'Low Stock' table, which is very important to us to make our purchase orders.
It does not seem to work correctly (see attached picture). We have our 'Days to reorder' set to 14.
If you look at the picture, the calculation should be:
5 / 7 = 0.71
0.71 x 14 = 9.99 rounded to 10
and we have our product stock at only 2 but it is still not considered as Low Stock. And the same thing happens for hundreds of products...
I think we found the function responsible to the calculation in classes/Components/AtumListTable.php at line 2513, but didn't quite understand how the comparison works at line 2556...
Last but not least, it should be very important for us to add a small quirk to the low stock list:
some sort of global stock "hard limit" that if the product stock is below it will appear in the Low Stock list, no matter the calculation result. (even a temporary snippet or hook should be ok)