Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
9656 Widoki

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. 

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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?

Awatar
Odrzuć
Autor

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 :-(

Autor Najlepsza odpowiedź

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. 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 17
2644
2
maj 17
5810
0
gru 24
762
1
paź 17
3474
2
kwi 23
8534