You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2016/06/22 16:53:30 UTC

svn commit: r1749739 - /ofbiz/trunk/applications/product/template/facility/EditFacilityLocation.ftl

Author: ashish
Date: Wed Jun 22 16:53:30 2016
New Revision: 1749739

URL: http://svn.apache.org/viewvc?rev=1749739&view=rev
Log:
Applied patch from jira issue - OFBIZ-7332 - Add Product lookup when associating product with location from Edit Facility Location page.
Thanks Ravi for the contribution.

Modified:
    ofbiz/trunk/applications/product/template/facility/EditFacilityLocation.ftl

Modified: ofbiz/trunk/applications/product/template/facility/EditFacilityLocation.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/template/facility/EditFacilityLocation.ftl?rev=1749739&r1=1749738&r2=1749739&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/template/facility/EditFacilityLocation.ftl (original)
+++ ofbiz/trunk/applications/product/template/facility/EditFacilityLocation.ftl Wed Jun 22 16:53:30 2016
@@ -138,7 +138,7 @@ under the License.
             <input type="hidden" name="facilityId" value="${facilityId!}" />
             <input type="hidden" name="locationSeqId" value="${locationSeqId!}" />
             <input type="hidden" name="useValues" value="true" />
-            <span class="label">${uiLabelMap.ProductProductId}</span><input type="text" size="10" name="productId" />
+            <@htmlTemplate.lookupField formName="createProductFacilityLocationForm" name="productId" id="productId" fieldFormName="LookupProduct"/>
             <span class="label">${uiLabelMap.ProductMinimumStock}</span><input type="text" size="10" name="minimumStock" />
             <span class="label">${uiLabelMap.ProductMoveQuantity}</span><input type="text" size="10" name="moveQuantity" />
             <input type="submit" value="${uiLabelMap.CommonAdd}" />