Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Why does a unicity constraint exist on bank account number (functional question) ?

on 8/24/16, 2:25 PM 113 views

Odoo V9.0c

Hi Odoo community,

I have 3 customers (subsidiaries) of the same company who use the same bank account. I would like to link the same bank account to the three 'partners'. The relation between res_partner and res_partner_bank is one2many... so, I can't.

=> I've tried to create 3 different bank accounts with the same properties (different name but same IBAN).

There is a unicity constraint (res_partner_bank_unique_number) on the property 'sanitized_acc_number' of the res_partner_bank model...so, I can't.

What is wrong in my model ? What should be the good way to do ?

Thanks a lot in advance.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 8/24/16, 2:25 PM
Seen: 113 times
Last updated: 8/24/16, 6:33 PM