[Vtigercrm-developers] Massive performance hit with Role based picklists in v7 compared to v6

Alan Lord alanslists at gmail.com
Wed Oct 17 14:04:13 GMT 2018

I didn't understand from your answer what you mean with Edit View... 
What happens when a user opens a record in Edit View who is not 
permitted to access a particular picklist value but that is the value 
which is already set?



On 17/10/2018 14:54, Alan Lord wrote:
> Thanks for the reply Prasad,
> I'm fine thanks.
> My customer isn't impressed by the time it takes to load a Detail View 
> of a large module now we have migrated them to v7.
> There are several hundred users, lots of Roles and lots of role-based 
> picklists. If a user is toward the end of a branch of the role hierarchy 
> it can take 10s of seconds for a Detail view page to load. Edit View is 
> fine. On v6 it was never a problem.
> I have suggested we migrate as many of the picklists as possible to 
> non-role-based, but this didn't seem to make a huge difference as there 
> were still quite a few which need to be role based, plus some 
> multi-picklist fields too.
> So, I guess from what you say, if I simply change the call to the 
> getAssignedPicklistValues() function in the 
> setupAccessiblePicklistValueList() method of the DetailRecordStructure 
> all that is really going to change, apart from a speed improvement, is 
> the re-appearance of some of these "Not Accessible" values?
> Thanks
> Al

More information about the vtigercrm-developers mailing list