Iām working on a SalesActivity module where I write a record for each sales related call, email, meeting and task. It works great so far and gives much much richer reporting abilities than reporting on all this stuff separately. However, my one remaining issue is that assignment notifications are sent for each created record. I donāt want to turn off all assignment notifications (I know how to do that) I only want to turn off for the specific module. Iāve read a few posts about this but none seemed to have worked for me.
Hey
the ā_sendNotificationsā function in the data/SugarBean.php file sends out assignment notifications
you can override this function for your specific module (In the bean file of that module ) to return immediately which will disable sending out notifications
Iāve tried a bunch of coding solutions trying to extend save() and set notify to false, also send_assingmnet_notifications to false, nothing seems to work!
Also tried a before save hook and and after save hook. Canāt believe this is this hard!
I also found this little gem which is super interesting, but alas doesnāt work either!
Description
Allows an administrator to explicitly disable modules from sending assignment notifications to users.
thanks @abuzarfaris Thatās what I did (using the other function) it totally works stopping the emails if I add it in the /module/act_activities/act_activities.php. However, I want to make it upgrade safe by adding it to /custom/⦠but it doesnāt seem to work if I add it there. Am I doing something wrong with how Iām calling it in the custom folder?