Cannot add miscellaneous payments

Hi All
Since I updated to 9.0.1 I can no longer add miscellaneous payments to a bank account. I am using the Advanced Accounting module and whenever I try to add a miscellaneous payment, even though I have selected and Accounting account, the payment is rejected with an error that I require an Accounting account.

Does anyone know how to fix this? Or is there a better way to enter bank charges?

Hi, i see this is a long time issue, not sure if you have found a solution. It is the same case for higher version as well, like 13.0. This issue is caused by starting with a string in your Accounting Account (or ledger) code, instead of a numeric value. For example: STL-01-04-67867. You can resolve by two possible options:

  1. prefix ally the accounting accounts codes with a numeral instead of other character type
  2. by removing the validator in the codes of the file below to remove > 0 in ./compta/bank/various_payments/card.php .