Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
6224 Vistas

Hallo

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)?

Avatar
Descartar
Mejor respuesta

Hi friends,

Did you find a solution ?

Avatar
Descartar
Autor

Hallo John,

if I recall correctly, I wrote a new module from the scratch

Oh i see, needs custom work. Thank you for your respond Raffaele

Mejor respuesta

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?

Avatar
Descartar

Here is one example of using such approach: John Doe, is a fine gentlemen, also, owner of CompanyA, CompanyB, and CEO of Comany C.... got the picture? completley normal thing; Here is another... Miss Smith is a fine lawyer, representing: Comapny A, Comany B, ComapnyC.... Need more examples?

Autor Mejor respuesta

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.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 16
2968
3
ene 25
3942
3
oct 16
3636
1
feb 25
1937
2
feb 24
2188