@@ -, +, @@ --- Koha/Account/Line.pm | 1 + 1 file changed, 1 insertion(+) --- a/Koha/Account/Line.pm +++ a/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 ( --