Author: arunpatidar
Date: Mon Jun  6 14:16:17 2016
New Revision: 1747013

URL: http://svn.apache.org/viewvc?rev=1747013&view=rev
Log:
[OFBIZ-7175] Applied patch from jira issue OFBIZ-7175. Thanks Rishi Solanki for 
your contribution.

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

Modified: ofbiz/trunk/applications/order/widget/ordermgr/ReturnForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/ReturnForms.xml?rev=1747013&r1=1747012&r2=1747013&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/ReturnForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/ReturnForms.xml Mon Jun  6 
14:16:17 2016
@@ -105,7 +105,8 @@ under the License.
         <field name="needsInventoryReceive" 
tooltip="${uiLabelMap.OrderReturnNecessaryReceiveInventoryMessage}">
             <drop-down no-current-selected-key="N"><option key="N"/><option 
key="Y"/></drop-down>
         </field>
-        <field name="createdBy"><display/></field>
+        <field name="createdBy" 
use-when="returnHeader!=null"><display/></field>
+        <field use-when="returnHeader==null&amp;&amp;returnId==null" 
name="createdBy"><ignored/></field>
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}" 
widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
     <!-- UNUSED FORM


Reply via email to