Credit Note can't recover value and quantity of inventory when it zero

I found some lag in the function in credit note. First of all the regular transaction goinng on first. I sell 10 inventories i have (beginning 20 inventories @ $10, total 200). After Sales done with price @ $15, there are sales return from customer about 5. Because of that I input this sales return in Note Credit Module. And it’s run right.

  1. Sales account reduce 5 (now show 5, before sales return 10)
  2. Inventory adding 5 become 15 (before 10) values show $150
  3. and last, Supplier credit show inventory value of 5 unit inventory $75

but
when beginning inventory remain 10 units, and we sell all of inventory on hand now, and our customer bring sales return. we use credit note again everything goes right except inventory value

  1. Sales account reduce 10 (now show 10, before sales return 10)
  2. Inventory adding 0 become 0 (before 10) values show $0
  3. and last, Supplier credit show inventory value of 10 unit inventory $100

I’m aware of this bug. Right now, credit note will put back inventory items at current value. But if inventory on hand is $0, then value recovered will be $0.

I will need to re-think how inventory and credit notes ought to work. There are number of solutions I have in my mind.

This bug will be definitely fixed, I just need more time to think about this.

tengkyu for your guidance sir @lubos

I got this issue too, glad you’ll fixed it :smile: Thanks @lubos :smile:

Hello, is it fixed or not yet, as this is affecting my profit margins report.

E.g i make an exchange of goods with a customer (e.g. i take his used phone and sell him a new one).
when i run the inventory profit report, the cost of the used phone comes as 0$ and shows high profit.

thanks.

The latest version (16.2.71) is fixing this bug.