[Vtigercrm-developers] does/should module.enabled event fire on install of a module?

Prasad prasad at vtiger.com
Mon Sep 22 08:40:23 GMT 2014


Having it separate helps to define the flow by incoming type - else the
states need to be tracked too.
Is there any use-case to consider?

*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
<https://blogs.vtiger.com/>* I* Wiki
<http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
<https://discussions.vtiger.com>*I* Website <https://www.vtiger.com/>

On Mon, Sep 22, 2014 at 2:00 PM, Alan Bell <alan.bell at libertus.co.uk> wrote:

> I think that when I install a module, the module.enabled event doesn't
> occur. Should it? I think that it would be appropriate to call the enabled
> event after the postinstall, so that anything that should be done when
> enabling the module happens. Of course I can just make it happen in the
> postinstall too. Same goes for module.disabled and preuninstall, shouldn't
> that call the module.disabled stuff first?
>
> Alan.
>
> --
> Libertus Solutions
> http://libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140922/e4951e76/attachment.html>


More information about the vtigercrm-developers mailing list