← Back to team overview

banking-addons-team team mailing list archive

[Bug 1020679] Re: get_bank_accounts in banktools.py not always work well

 

Hi Armando,

the problem seems to be that the parser compares the account number as
it is found in the bank statement with the account number as it is
entered by the user, and their formats differ.

Maybe the account number in res.partner.bank is normalized by the
account validation routines in the banking addons. This is the case for
my region and it meant we had to have the parsers also normalize the
account numbers to allow for the matching.

Can you tell me what parser are you using and whether the above applies?

Regards,
Stefan.



** Changed in: banking-addons
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Banking
Addons Team, which is the registrant for Banking Addons.
https://bugs.launchpad.net/bugs/1020679

Title:
  get_bank_accounts in banktools.py not always work well

Status in Banking Addons:
  Incomplete

Bug description:
  Hi, thanks for your work, is very helpful.

  The method get_bank_accounts in banktools.py, get the bank_account
  corresponding to the account_number, the problem is that the account
  number must be equal to the one kept in res_partner_bank, but for
  example in my case the account number coming from the parser is
  905631503 and the account number in the res_partner_bank is
  905-631-503-¢ so the search fails and dont get the bank account.

  I think this method should search the account number regardless of the
  format in the res_partner_bank.

To manage notifications about this bug go to:
https://bugs.launchpad.net/banking-addons/+bug/1020679/+subscriptions


References