Mode Of Payment Auto Calculation Not Working

Sales Invoice>> ticked Include Payment>>

I have changed the default mode of payment in a transaction Since the amount received is in another account.

Now the ‘total amount need to be paid’ is not calculate automatically.

It badly affect during sales return time.