تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
6574 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

Hi friends,

Did you find a solution ?

الصورة الرمزية
إهمال
الكاتب

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

أفضل إجابة

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?

الصورة الرمزية
إهمال

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?

الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
partner of society تم الحل
1
سبتمبر 16
3193
3
يناير 25
4828
3
أكتوبر 16
4001
1
فبراير 25
2406
2
فبراير 24
2613