Wrong calculation of 'document discount' when there are stock item exempted from discount and partial shipment is done.

Order To Cash: Sales Order Version 10.81

Earlier, there was wrong calculation of ‘document discount’ when there were stock item exempted from discount and partial shipment was done. This has now been fixed.