svn commit: r1748401 - /ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml

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

svn commit: r1748401 - /ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml

pranayp
Author: pranayp
Date: Tue Jun 14 12:52:34 2016
New Revision: 1748401

URL: http://svn.apache.org/viewvc?rev=1748401&view=rev
Log:
[OFBIZ-7337] Applied patch from the ticket. Ignored statusId field instead of showing it empty when a new quote is being created. It works with status valid change record for an existing quote.

Thanks Aditi Patidar for reporting the issue and providing patch.


Modified:
    ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml

Modified: ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml?rev=1748401&r1=1748400&r2=1748401&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml Tue Jun 14 12:52:34 2016
@@ -110,6 +110,7 @@ under the License.
         <alt-target use-when="quote==null" target="createQuote"/>
         <auto-fields-entity entity-name="Quote" default-field-type="edit"/>
         <field name="quoteId" title="${uiLabelMap.OrderOrderQuoteId}"><display/></field>
+        <field name="statusId" title="${uiLabelMap.FormFieldTitle_statusId}"><ignored/></field>
         <field name="quoteTypeId" title="${uiLabelMap.OrderOrderQuoteTypeId}">
             <drop-down allow-empty="true">
                 <entity-options entity-name="QuoteType" key-field-name="quoteTypeId">
@@ -127,7 +128,7 @@ under the License.
         </field>
         <field name="partyId" title="${uiLabelMap.PartyPartyId}"><lookup target-form-name="LookupPartyName"/></field>
         <field name="issueDate" title="${uiLabelMap.OrderOrderQuoteIssueDate}"></field>
-        <field name="statusId" title="${uiLabelMap.CommonStatus}">
+        <field name="statusId" use-when="quote!=null" title="${uiLabelMap.CommonStatus}">
             <drop-down allow-empty="false" current-description="${currentStatus.description}">
                 <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
                     <entity-constraint name="statusId" value="${quote.statusId}"/>