Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
9663 Tampilan

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
Buang
Jawaban Terbai

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

Avatar
Buang
Jawaban Terbai

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
Buang
Penulis

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

Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Sep 17
2653
2
Mei 17
5811
0
Des 24
769
1
Okt 17
3480
2
Apr 23
8541