AnsweredAssumed Answered

Case sub-panel in Account module not refresh

Question asked by Autchara Chaiprom on Feb 28, 2017
Latest reply on Feb 28, 2017 by Autchara Chaiprom

Hi all,

 

I do following this tutorial http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.8/User_Interface/Views/Refreshing_Subpanels_on_the_Record_View/index.html

 

It work in Contacts module, all sub panel are refresh but it doesn't work in Accounts module (in tutorial is in Accounts module).
I tracking in request url on Network tools in Developer mode on Chrome.
Only Case module looks different, it doesn't call view sub-panel (see in picture)

 

 

 

 

Could anyone please suggest us to investigate a problem.

 

::: Update more that I tried :::

Look in to value in record.js compare between Case and Document

refresh_all_subpanels: function() {
        _.each(this.model._relatedCollections, function(collection){
            console.log(collection);
            collection.fetch({relate: true});
        });
    }

Got this:

 

I check through in custom/modules/Cases/clients/base/views/ I have 2 view for accounts

- subpanel-for-accounts

- subpanel-for-accounts-cases

 

 

 

Sugar 7.1 Pro

Thanks,
M

Outcomes