diff --git a/Koha/Account/Line.pm b/Koha/Account/Line.pm index 9418267625..bd233e3b36 100644 --- a/Koha/Account/Line.pm +++ b/Koha/Account/Line.pm @@ -666,6 +666,7 @@ sub apply { } ) if $outcome; } + $debit->discard_changes; # Refresh values from DB to clear floating point remainders # Same logic exists in Koha::Account::pay if (