AnsweredAssumed Answered

Custom Function for Remove Attachment in Opportunity Module

Question asked by pavan agrawal on Dec 29, 2014
Latest reply on Mar 11, 2015 by Sohan Tirpude

We have added on attachment filed in opportunity module, but remove attachment not working. So i check notes module there is one function which we need to call - "deleteAttachment". So if we add this function in /sugarcrm/modules/opportunities/Opportunity.php then it works. But i guess its not upgrade safe.

Can anyone please tell me how to call this function for upgrade safe ?