I need your opinion on a standard CiviCRM behavior:

When you add or change the address of an individual AND you check "Use another contact's address", AND that target contact is an organization, then the current employer is changed + the "employee of" relationship. Regardless of the location type.

This makes sense for location type "work". But why does this happen for all location types?

Wouldn't it better to limit this functionality to location type "work"? Or add a checkbox on location types, so users can specify on which location types they expect that behavior?

2 Answers 2


@AlainB I totally agree that this should not happen for all location types. Do I understand correctly that:

  • I change the address of John Doe
  • I tick the 'use another contact's address'
  • I then select organization CompanyB

and then companyB automatically becomes the employer of John Doe?

That sounds like unwanted behaviour to me, I would not expect the employer to change automatically even if I changed the work address.

  • Yes, that's right. You can check this in the demo database by selecting e.g. "Lou Jameson III" (contact id = 184). He has only a home address, and current employer Newtonia Peace Systems. Give him an address of type "other" and refer to e.g. "Bay Health Partnership". You will see that it will become his new employer.
    – AlainB
    Mar 5, 2018 at 15:41
  • I would not expect the employee of relationship/field to change whatever changes I make to an address. That sounds like weird behaviour (and if you need such behaviour you can use civirules for that specific configuration). Mar 6, 2018 at 13:54

It looks like a relic from an earlier era and an opportunity to simplify one tiny corner of the codebase. Maybe we could just document a CiviRules recipe to re-implement the current behaviour and remove it entirely.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.