[Vtigercrm-developers] Download (directly) document from related view"

Alan Lord alanslists at gmail.com
Wed Mar 4 13:36:52 GMT 2015


On 21/02/15 14:24, Uma S wrote:
> Hi,
>
> Right now this can't achieved through current vtiger source, we have
> noted here in trac <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8480>
> ticket will look into this soon.

I'd like this as well.

Currently the <a tag and code to increment to the download counter and 
get the file is inserted in the ListViewController (lines 219 or 225).

This feels very wrong to me for an MVC architecture...

This should be handled in the Documents module's List ViewModel and View 
classes surely?

Al






More information about the vtigercrm-developers mailing list