Automatic creation of partners can require hand work
Bug #537351 reported by
sraps (Alistek)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Account Banking Framework |
Invalid
|
Low
|
Unassigned |
Bug Description
Automatic creation of partners causes big trouble because it wrongly misidentifies partners and then creates additional partner.
Just one example...
Bank provides us such string as opposite party:
SOME PARTNER AS.OLAINE RĪGAS 21 R ĪGAS LV2114 /ID/40003006993
In our base, this partner is defined like this:
Some Partner
As you can see the remainder is their address and registration ID. The other problem why, it should not create partners on the fly is that as you can observe bank for some unknown reason adds spaces to strings, so there may be differences even though the strings should be identical.
Changed in account-banking: | |
importance: | Undecided → Critical |
summary: |
- Automatic creation of partners causes big trouble + Automatic creation of partners can require hand work |
To post a comment you must log in.
As bank accounts are mandatory tied to partners, there is no way to create bank accounts without a partner object linked.
Apparently your bank provides you with an ID to match a partner with, so what keeps you from extending the logic with ID matching? This way there can be no mistake. You only have to make sure the ID is correctly parsed from the provided bank info...
I see four options:
1. Don't do anything. Hand link the right partner to the bank account and remove the wrong one. This is a one time operation per bank account.
2. Drop the creation of new partners and rely on hand work, either beforehand or from an error log (causing imports to fail).
3. Extend the mechanism to use smarter options available as the one mentioned. Should be a relatively simple addition.
4. Extend the error mechanism to allow wizard like creation of bank accounts. This is not an easy task.
For now, 1 works. My vote goes to 3. I think it should be easiest if you built this yourself, as all test cases are in your hands.