Odoo Help


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

on 8/24/16, 2:25 PM 571 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.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/24/16, 2:25 PM
Seen: 571 times
Last updated: 12/7/17, 6:27 AM