Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
9913 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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?

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả Câu trả lời hay nhất

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. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 17
2831
2
thg 5 17
5999
1
thg 9 25
947
1
thg 10 17
3666
2
thg 4 23
8788