When trying to change the currency in the trial balance I am getting this error:
if (account_sum.get('debit', 0.0) - account_init_bal.get('debit', 0.0)) or (account_sum.get('credit', 0.0) - account_init_bal.get('credit', 0.0)) or\ TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Any suggestions how to solve it?