Wrong taxable amount on orders with order type Credit not when using amount based discounts

Order To Cash: Sales Order Version 8.55

Earlier, there were wrong taxable amounts on orders with the order type Credit note when using a discount based on amount. This has now been fixed.