Bug Report: Edit The Purchase The Stock Is Broken

Edit The Purchase The Stock Is Broken

After saving a purchase, the inventory is calculated correctly. If I then edit the purchase, the inventory is no longer correct, the value is displayed at random. Kiwi Stock = 10 Kiwi has

MM

Marcel Müller

Reported

After saving a purchase, the inventory is calculated correctly. If I then edit the purchase, the inventory is no longer correct, the value is displayed at random.

Kiwi Stock = 10 Kiwi has Operator Purchase Unit 1x6 Add Purchase quantity 1 = 1x6 Kiwi Stock is 16 Edit the Purchase only open and save Kiwi Stock is 11