Vauxoo/addons-vauxoo

Inaccuracies in Stock Information Displayed by 'stock_by_warehouse' Product Widget

Closed this issue · 0 comments

The 'stock_by_warehouse' product widget is not accurately reflecting the stock levels for products across different warehouses. This issue persists regardless of the complexity of the stock distribution (e.g., multiple units across various warehouses or a single unit in one warehouse).

Multi-Warehouse Inconsistency example:
A product with 10 units, distributed equally in 2 different warehouses.
image

The widget incorrectly displays stock information. This inaccuracy is also evident in warehouses where the product is not stocked.
ezgif-7-40ef44299f

Single Warehouse Inconsistency example:
A simpler case where a product has only 1 unit in a single warehouse.
The widget still computes and displays an incorrect stock value.
image

Impact of Issue:
This inaccurate display of stock information can lead to mismanagement of inventory.