Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
in the "Contacts" tab of a company one can define as many contacts as he needs for that partner.
Which is the way for making the same contact "belonging" to multiple partners?
I.e. one consultant for partner A is consultant for partner B, and so on.
Could it be simply changed the Company selector to a multiple selector (a many2many like for tags)?
Don't count on it. Not nesc. because of the field (that may be changed accordingly) but more for the business logic. A lot of processes and links in the background keep track of wheter or not a res.partner record has a parent record. Also code on the sale and purchase module checks this.
If you only want an indication and no business logic, perhaps it would be best to not give the contact a parent at all. Then create a new relational field (one2many) to the res.partner table and you can freely fill in the relation without interfering with standard behaviour.
By the way: Out of curiosity I would like to know why you would need this? I cannot think of a situation where any of my contacts would be working for 2 or more different companies?
Hallo Ludo, thank you for replying.
Here there is a little list of examples of shared contacts:
- An employee with two part-time contracts with two companies.
- A manager who is in charge as a CEO for a company and as a Director for another.
- The partner's lawyer (external consultant), which is consultant for other companies too.
- An individual who is contact for a company but is even a partner himself.
My customer has hundreds of "shared" contacts like these in his partners.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/23/14, 7:08 AM|
|Seen: 969 times|
|Last updated: 3/16/15, 8:10 AM|