コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
6507 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
1
9月 16
3172
3
1月 25
4738
3
10月 16
3947
1
2月 25
2354
2
2月 24
2544