[Vtigercrm-developers] Diff. between Add To Do & Add Event? [SOLVED]

Alan Lord (News) alanslists at gmail.com
Wed Jun 23 03:08:32 PDT 2010

For the record and so it might help others,

I have succeeded in getting Events related to the SalesOrder module by 
replacing the get_activities() function in SalesOrder.php with the one 
in the Accounts module.

This is a bit of a hack IMHO and it would be better if this could be 
handled through vtlib so it is more portable.

Is there a better way?



On 23/06/10 09:44, Alan Lord (News) wrote:
> Hi all,
> am trying to work out how to relate the Events (*not* just To Dos)
> feature to the Sales Order module.
> I found a thread on the Forum that talks about using vtlib and a simple
> script to add Activities to the Services module here:
> http://forums.vtiger.com/viewtopic.php?p=107859#107859
> But this simply causes an error when you open the Services module detail
> view:
> Fatal error: Call to undefined method Services::get_history() in
> /var/www/vt510/include/utils/DetailViewUtils.php on line 1740
> So I do not think this is the right way to do it. :-(
> Any ideas?
> Al

The Open Learning Centre

More information about the vtigercrm-developers mailing list