svn commit: r1791804 - /ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/OrderMenus.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1791804 - /ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/OrderMenus.xml

jleroux@apache.org
Author: jleroux
Date: Tue Apr 18 16:14:49 2017
New Revision: 1791804

URL: http://svn.apache.org/viewvc?rev=1791804&view=rev
Log:
Improved: Create New Quote button is duplicated on View Quote page
(OFBIZ-9318)

Steps to regenerate:
1. Go to Order component
 (https://localhost:8443/ordermgr/control/main)
2. Click on Quotes submenu
 (directing to https://localhost:8443/ordermgr/control/FindQuote)
3. Click on Find button.
4. Click on any quoteId
 (directing to https://localhost:8443/ordermgr/control/ViewQuote?quoteId=CQ0001)
5. Create New Quote button is duplicated.

Problem:
1. "ViewQuote" request directs to "ViewQuote" screen in QuoteScreens.xml.
2. On ViewQuote screen, it includes "QuoteSubTabBar" from OrderMenus.xml.
3. "QuoteSubTabBar" has a "Create New Quote" button.

But as with OFBIZ-7841, to make it consistent Create New Quote button is added
 to menu bar.

Solution:
Removed the button to avoid redundancy.

Thanks: Aditya Sharma

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/OrderMenus.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/OrderMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/OrderMenus.xml?rev=1791804&r1=1791803&r2=1791804&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/OrderMenus.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/OrderMenus.xml Tue Apr 18 16:14:49 2017
@@ -255,9 +255,6 @@ under the License.
                 <parameter param-name="emailType" value="PRDS_QUO_CONFIRM"/>
             </link>
         </menu-item>
-        <menu-item name="editQuote" title="${uiLabelMap.OrderCreateOrderQuote}">
-            <link target="EditQuote"/>
-        </menu-item>
         <menu-item name="createOrder" title="${uiLabelMap.OrderCreateOrder}">
             <condition disabled-style="disabled">
                 <and>