[Fix]: fixed issues for create opportunity from the portal menu and for dropdown menu on project kanban view in portal(Maintenance case:612593

Fixed issue for portal menu for project drop down menu "project settings" not working and create Opportunity button gives traceback from the menu "Leads & Opportunity > Opportunity" in portal menu.

Reference(Maintenance Issue:612593)