To replicate this issue . Create a loan an link a savings account to the loan. Approve and disburse the loan into the savings account. The bookings here are all correct. Now make any repayment into the loan and reverse the repayment You will notice the the disbursement bookings was been reversed both on the savings and the loan account. Example to prove this is on url provided below
https://demo.openmf.org/#/viewsavingaccount/434 https://demo.openmf.org/#/viewloanaccount/5962
issue caused by this function in the CommandProcessingResult adjustLoanTransaction this.accountTransfersWritePlatformService.reverseTransfersWithFromAccountType(loanId, PortfolioAccountType.LOAN);
|