Author: deepak Date: Sat Mar 19 06:16:18 2016 New Revision: 1735727 URL: http://svn.apache.org/viewvc?rev=1735727&view=rev Log: (OFBIZ-5868) Applied patch from jira issue. ============================================================ Currently the View Profit overview is only visible when the quote has the status 'QUO_CREATED'. It should be so that the user can see the profit overview irrespect of the the status. ============================================================ Thanks Pierre Smits for reporting the issue and Mohammad Kathawala for patch.
Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderMenus.xml Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderMenus.xml?rev=1735727&r1=1735726&r2=1735727&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/OrderMenus.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/OrderMenus.xml Sat Mar 19 06:16:18 2016 @@ -217,10 +217,7 @@ under the License. <menu-item name="ViewQuoteProfit" title="${uiLabelMap.OrderViewQuoteProfit}"> <condition> - <and> - <if-has-permission permission="ORDERMGR" action="_QUOTE_PRICE"/> - <if-compare operator="equals" value="QUO_CREATED" field="quote.statusId"/> - </and> + <if-has-permission permission="ORDERMGR" action="_QUOTE_PRICE"/> </condition> <link target="ViewQuoteProfit"> <parameter param-name="quoteId" from-field="quote.quoteId"/>