how to remove Address fields from create lead

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ruslan
    Senior Member
    • Aug 2014
    • 102

    how to remove Address fields from create lead

    i didn't found where i can remove fields like postal code?

    Thanks
  • yuri
    Member
    • Mar 2014
    • 8455

    #2
    client/src/views/fields/address.js
    client/res/templates/fields/address/edit.tpl
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Ruslan
      Senior Member
      • Aug 2014
      • 102

      #3
      Great thanks yuri.

      another quasion, how can i translate phone typeList?

      Thanks

      Comment

      • yuri
        Member
        • Mar 2014
        • 8455

        #4
        You can find using search in file contents.
        application\Espo\Resources\i18n\en_US\Global.json >> "phoneNumber"
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • Ruslan
          Senior Member
          • Aug 2014
          • 102

          #5
          Hi Yuri,
          i try to find where to remove the drop down menu (mr,mrs etc...) from "personName" field.

          Thanks

          Comment

          • yuri
            Member
            • Mar 2014
            • 8455

            #6
            Metadata:
            entityDefs >> Contact/Lead: fields >> salutationName >> options
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • Ruslan
              Senior Member
              • Aug 2014
              • 102

              #7
              Hi, i removed it from Contact.json but the field it self(drop down) is still there (in contact).
              how to remove the empty drop down?

              Comment

              • yuri
                Member
                • Mar 2014
                • 8455

                #8
                The same as you did with address field. See personName type of field
                If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                Comment

                • Ruslan
                  Senior Member
                  • Aug 2014
                  • 102

                  #9
                  Thanks all working great!
                  i suggest not to set hard coded fields because every update you need to change back all the changes you have did to core files.
                  ​the same thing is for css file. espocrm need to change custom.css file where you can make all your changes.

                  Comment

                  Working...