Wrong Stock Level

Dear All,
When I submit a Delivery Note, the stock actual qty is not being deducted. The actual qty for the corresponding warehouse shows the old qty in both the “Stock Summary Report” and the Item master “Stock Levels” section. I also noticed these values matches the “tabBin” in the database. However, the “Stock Ledger Report” shows the CORRECT “In Qty” and “Balance Qty” also the Stock Balance Report shows the correct qty in the “Balance Qty” column as well. Could someone please tell me what I have done wrong.

Here are the steps:

  1. Create a new Item
  2. Post a “Stock Reconciliation” for the item in the corresponding warehouse with purpose “Opening Stock”
  3. Submit a Delivery Note

Settings:
Perpetual Inventory enabled,
Allow Negative Stock is off

Best Regards,
Dave

Hi @dave-greeko,

We have the same problem faced in the old version of 13 then after updating a new version of 13 the problem has been resolved.

If manually install and If you have not applied the command then apply it.
Make sure, first, to take a backup.

bench setup requirements
bench update --reset
bench update --patch
bench build
bench clear-cache
bench migrate
bench clear-cache

Thank You!

Thank you so much! it’s working like charm now.

Just for future reference:
Old ERPNext Version that experienced the issue: 13.24
New ERPNext Version with the fix: 13.39