Skip to Content
Menu
This question has been flagged
3 Replies
8381 Views

How come the bank account number has to be unique? I can have two partners using the same bank account number. But when I want this bank account number linked to two partners, I get an error saying the bank account number has to be unique. Eventhough Odoo asks which partner the account is related to. 

I would like the bank account number to be linked to multiple partners, just have it be linked to only 1 partner_ID in the res.partner.bank table. 


But first I would like to know why there is a restriction that a bank account can only be linked to 1 partner. 

Avatar
Discard
Best Answer

wtaferner proposed a fix here https://github.com/odoo/odoo/pull/15637/files

Avatar
Discard
Best Answer

Hi Julia,

I know this is an old forumpost, but we just started working with Odoo and came across this same issue.

We have a few different companies as customer who share the same bankaccount from which they pay us. We have also companies which are customer and supllier and as such have the same backaccount. This is in Odoo impossible it seems. In Odoo 11 and also in Odoo 12.

Did you find a work-a-round for this?

Avatar
Discard
Author

Hi Johnny,

At odoo Experts we eventually removed the limitation in code. I wondered if it was possible to have multiple partners with the same account in SEPA direct debit, having the account being linked to only 1 partner, but even that is still not possible.

It's also strange that the fix mentioned above is apparantly not in V11 / V12. I would suggest trying to create a ticket for Odoo with this question, or ask Odoo Experts (support@odooexperts.nl) for their fix, they might have a module that you can use.

Hi Julia,

Thanks for your quick answer. I will contact Odoo Experts.

It didn't got in to Odoo 11/12 because they still find it a good constraint :-(

Author Best Answer

I found a discussion on github:

https://github.com/odoo/odoo/issues/15636

I don't completely understand the conversation, but I see that Odoo doesn't want the bank account number to be used more than once. 

I agree with the discussion that it would be nice though, most accounting software doesn't have this limitation and is thus better suited for B2C companies with a desire to use f.e. Direct Debit. 

Avatar
Discard
Related Posts Replies Views Activity
0
Sep 17
1798
2
May 17
4877
1
Oct 17
2740
2
Apr 23
7006
1
Apr 23
3758