Announcement

Collapse
No announcement yet.

Change status values

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

  • Change status values

    Hello.
    I created entity with type EVENT. And now i changed default values of status (I mean held, planned and not held). After that i can't use those buttons in menu http://i.imgur.com/8CEZLeh.png
    Can you tell me where i need to change values in code to fix this ? Thanks !

  • #2
    Example for a Call you can find here /client/modules/crm/src/views/call/record/detail.js, defined in clientDefs /application/Espo/Modules/Crm/Resources/metadata/clientDefs/Call.json.

    Comment


    • #3
      Thanks! Can i need to update them in custom directory? Because i don't want to lose this configuration after update

      Comment


      • #4
        Yes, you can define it in custom/Espo/Custom/Resources/metadata/clientDefs/Call.json and custom detail.js extended from the base view.

        Comment


        • #5
          Weird, because after i changed those files, text in buttons changed, but nothing happen after click on button

          Comment


          • #6
            Actions are defined in actionSetHeld() and actionSetNotHeld() in the call/record/detail.js

            Comment


            • #7
              Hmm where i can change filter on list with calls PLANNED to something different?

              Comment


              • #8
                Hello
                http://forum.espocrm.com/forum/devel...m-field-values

                custom/Espo/Custom/SelectManagers/Call.php extends Espo\Modules\Crm\SelectManagers\Call
                custom/Espo/Custom/Resources/metadata/clientDefs/Call.json filterList

                Comment

                Working...
                X