[Vtigercrm-developers] Cyclic vtlib relationships?

Alan Lord alanslists at gmail.com
Thu Sep 20 01:18:58 PDT 2012



On 20/09/12 08:20, Joe Bordes wrote:
> Hi Alan,
>
> Each class has a method called vtlib_handler(), this method gets called
> on certain "install" events (to call them something). Exactly, I would
> say you are looking for the postinstall event of this method. That is
> where you can setup those relations that aren't established in the
> manifest file on import/export.
> Basically the idea is that the manifest file is capable of establishing
> all elements related to the module being installed, but it cannot modify
> another module, so when you need your new module to appear (either as a
> uitype 10 field or a related list) on another module you have to do it
> in this method.

Great stuff, thanks for the info Joe.

That looks like the right place to handle that.

Cheers

Al





More information about the vtigercrm-developers mailing list