Stream differences on Case and Account modules

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • The50
    Member
    • Nov 2017
    • 39

    Stream differences on Case and Account modules

    Hello, how could I make the stream on Account pages look exact same like Case entries? The email is shown as expanded on Case stream and only the title of email is shown on Account page. As example, Case: https://d.pr/i/ouSVUk and Account: https://d.pr/i/RhcP2g I need to see the full email on Account pages also.

    It looks like Case is loading the stream from the "Stream" view folder and the Account is loading the stream from "Notifications" folder. Why is it loading from the different views?
    Last edited by The50; 04-05-2018, 04:31 PM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello,

    Override Stream Service and add Account to this property https://github.com/espocrm/espocrm/b...Stream.php#L61

    Comment

    • The50
      Member
      • Nov 2017
      • 39

      #3
      Originally posted by tanya
      Hello,

      Override Stream Service and add Account to this property https://github.com/espocrm/espocrm/b...Stream.php#L61
      Thank you for your answer. Is there any other file I should clean/change to see these changes? I tried to clean cache and recompile the project, but I still don't see any changes on any of the streams. I even tried to delete the "Case" from the line you provided and nothing changed also.

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Do you check old stream records or new one (after code modification)?

        Comment

        • The50
          Member
          • Nov 2017
          • 39

          #5
          Originally posted by tanya
          Do you check old stream records or new one (after code modification)?
          Old ones, this has an effect only on new ones?

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            Yes. If you need it for old records as well, you need to set 'post' column in database table `note`

            Comment

            • The50
              Member
              • Nov 2017
              • 39

              #7
              Thank you very much, working.

              Comment

              Working...