Contributors mailing list archives

contributors@odoo-community.org

Re: Partner unicity

by
Levent Karakas
- 18/04/2018 08:04:54
There are few dimensions to consider: 

1) company/person 
2) parent / child (contact, address) 
3) active / inactive. 

Generally speaking, parents with same type (company/person) can strictly be unique over a field but contacts might share some fields with each other or the parent. Inactive could be ignored in most cases.



2018-04-18 10:47 GMT+03:00 Alexis de Lattre <alexis.delattre@akretion.com>:


2018-04-18 9:32 GMT+02:00 Johan Van Hirtum <johan@vanhirtum.be>:

Even mobile cannot be unique. For example, sometimes you have the same person 2 times as a customer : 1 time as a private person, 1 time as a company with TVA.

Very good remark, thanks ! I guess companies that may encounter this usecase should not install the 'partner_mobile_unique' module and I'll mention this scenario as a warning in the module description.

--
Alexis de Lattre
Akretion France - 35B rue Montgolfier - 69100 Villeurbanne - France

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe