Announcement

Collapse
No announcement yet.

Change "main field" in Leads

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change "main field" in Leads

    Hello everybody,

    we wanna change the main field of leads from "name" to "account name", so that the "account name" is shown in the detail view head (Leads >> 'Account Name') and in the "link parent" field after selecting the lead from elsewhere. How can we do that? At the moment, the link parent field also shows "name" per default.

    Best regards,

    Daniel

  • #2
    Hello,

    does anybody has an idea on how to change that? Thanks in advance, Daniel

    Comment


    • #3
      Hi,
      do you need person name in Lead at all?

      Comment


      • #4
        Originally posted by tanya View Post
        Hi,
        do you need person name in Lead at all?
        Yes, within each record definitely, but not in the header and in the link parent field.

        We wanna change this header
        Click image for larger version

Name:	Unbenannt2.PNG
Views:	556
Size:	6.9 KB
ID:	37379

        and the link parent entries
        Click image for larger version

Name:	Unbenannt3.PNG
Views:	567
Size:	4.5 KB
ID:	37377

        from "Name" to "Account Name"

        Click image for larger version

Name:	Unbenannt.PNG
Views:	304
Size:	9.0 KB
ID:	37376
        Attached Files

        Comment


        • #5
          You could try to override the method _getName() from /application/Espo/Modules/Crm/Entities/Lead.php

          Comment


          • #6
            Thanks a lot, this worked for us

            Comment


            • #7
              better to inherit this class in custom/Espo/Custom/Entities/Lead.php and override this method (to make this modification upgrade safe)

              Comment

              Working...
              X