function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jin Kaur 7Jin Kaur 7 

return to opportunity when hit cancel on quote

When I hit Cancel on a Quote, I'd like for the User to be taken back to the related Opportunity.
Right now, it seems as thought the standard behaviour on clicking Cancel takes them back to the Homepage.

How do I change this?
SalesFORCE_enFORCErSalesFORCE_enFORCEr
If you open a quote from the opportunity related lists, then on click of Cancel it will automatically redirect you to the opportunty detail page.
Jin Kaur 7Jin Kaur 7
It should do! But for some reason mine does not.  I have no custom button or app interferring :/
SalesFORCE_enFORCErSalesFORCE_enFORCEr
When you click on the New button from Quote related list on opportunity detail page, what value do you see for retURL in the page url?
Jin Kaur 7Jin Kaur 7
I don't see a retURL, I just see 

https://eu1.salesforce.com/0Q0/e?oppid...followed by the IDnumber.  It's odd!
Jin Kaur 7Jin Kaur 7
Seems as though it's only happening for me - Admin, just logged in as a few other different profiles and it seems to be giving a retURL which goes back to the Opportunity!