Total amount is not updated when we change the discount rate.
In a sales line, when we choose a product, quantity and discount: the discount amount is calculated correctly, the unit price is updated, but not the total amount.
In a sales line, when we choose a product, quantity and discount: the discount amount is calculated correctly, the unit price is updated, but not the total amount.