[Vtigercrm-developers] Leads_DetailView_Model inherits from Accounts_DetailView_Model

Oleg Antonov oleg.a at pinstudio.ru
Thu Feb 18 16:38:17 GMT 2016


Hello!

I have worked around custom widget for Account summary page, modifying
*modules\Accounts\models\DetailView.php*

To my surprise It affects Lead summary page!
After some dig i found at  *modules\Leads\models\DetailView.php*

class *Leads_DetailView_Model* extends *Accounts_DetailView_Model* {
>
> ...
>
>
And also

> class *Leads_Detail_View *extends *Accounts_Detail_View*
>


Question to vTiger team:
Is there any reason to such inheritance?
And how one should isolate modifications made for Accounts Detail View?


Regards
Oleg Antonov
Saitn-Petersburg, Russia
pinstudio.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160218/5fdc1d56/attachment.html>


More information about the vtigercrm-developers mailing list