Problem with adding a new "Calls"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lukasz412
    Member
    • Sep 2016
    • 50

    Problem with adding a new "Calls"

    Can someone help me? It's really important!

    I have some problems with adding a new "Calls" to the "Accounts". New "Calls" adds to the system as I can see those in "Calls" tab, but the conversation does not appear in the "Accounts" tab in "Activities" field. When I edit already existing "Calls" they appear in "Activities" and everything is fine. The problem appears only when I add the new ones. "Meeting" tab is also working correctly. Lately I have done an update of Espo CRM up to 4.5 version - can it be that this is causing the problem?
    Thank you for your help!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Did you do any customizations with these entities?

    Comment

    • lukasz412
      Member
      • Sep 2016
      • 50

      #3
      For "Calls" I haven't done any individual settings. All I did was changing the name of "Meeting" section as I wanted to translate it to my native language, but it works fine. Comapring the "Activities" field to the demo of EspoCRM I have noticed that buttons are in different order. In EspoCRM demo the order is "All/calls/meetings" and in my installed version it is "all/meetings/call". Do you think that may be the problem?

      Comment

      • lukasz412
        Member
        • Sep 2016
        • 50

        #4
        Problem appeared when I updated software from version 4.2.7 up to 4.5.0

        Comment

        • tanya
          Senior Member
          • Jun 2014
          • 4308

          #5
          No. the order has no matter.
          I can not reproduce it on demo. Could you?
          You could also check in Settings Activities Entity List

          The most common reason of problems after upgrade is non upgrade save changes in code.
          Last edited by tanya; 03-20-2017, 03:12 PM.

          Comment

          • lukasz412
            Member
            • Sep 2016
            • 50

            #6
            I have some additional informations, that maybe can somehow help to solve the problem.
            Me and other users have the problem I described before.
            But I have noticed that the first account with admin settings that I created after EspoCRM installation doesn't have that problem - new "Calls" adds properly in "Activities" field. Although, every account I set up after this one has this issue, Even if you have administrator privileges.

            Comment

            • tanya
              Senior Member
              • Jun 2014
              • 4308

              #7
              No idea... It's really hard to guess...
              Check espocrm logs and apache error log
              Could you attach export of two calls, related to account. One is shown in activities panel, other isn't (old and new) (you can change private fields in exported csv file, but don't delete them)

              Comment

              • lukasz412
                Member
                • Sep 2016
                • 50

                #8
                I have found the solution! The issue was caused by the "Call.json" file in /custom/Espo/Custom/Recources/metadata/entinityDefs.

                After I deleted it everything works just fine!

                Underneath I copy what was in the file:

                {
                "fields": {
                "parent": {
                "notStorable": true,
                "type": "linkParent",
                "entityList": [
                "Account",
                "Opportunity",
                "Case"
                ],
                "required": false,
                "audited": false
                },
                "status": {
                "type": "enum",
                "default": "",
                "view": "views/fields/enum-styled",
                "style": {
                "Held": "success"
                },
                "audited": true,
                "required": false,
                "isSorted": false,
                "options": [
                ""
                ]
                }
                },
                "collection": {
                "sortBy": "dateStart",
                "asc": false,
                "textFilterFields": [
                "name"
                ]
                }
                }

                Comment

                • lukasz412
                  Member
                  • Sep 2016
                  • 50

                  #9
                  Tanya you have an idea what the problem in call.json file is?

                  Comment

                  • tanya
                    Senior Member
                    • Jun 2014
                    • 4308

                    #10
                    You delete status option list. The panel Activities shows only planned Events (status "Planned"). But you create calls with status null

                    Comment

                    Working...