Author: jleroux
Date: Sat Aug  3 17:24:45 2013
New Revision: 1510042

URL: http://svn.apache.org/r1510042
Log:
A patch from Pierre Smits for "Receive inventory generates an error when 
product has mandatory lotid" https://issues.apache.org/jira/browse/OFBIZ-5275

When a product has lotid set to mandatory the receipt of inventory in facility 
generates following error:

The Following Errors Occurred:
The lotId is mandatory for the product M-AMBER-40.

However, it is not possible to set the lotid on the receipt form.

Modified:
    
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl

Modified: 
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl?rev=1510042&r1=1510041&r2=1510042&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl 
(original)
+++ 
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl 
Sat Aug  3 17:24:45 2013
@@ -185,6 +185,16 @@ under the License.
                   <#-- <a href="#" onclick="setNow("datetimeReceived")" 
class="buttontext">[Now]</a> -->
                 </td>
               </tr>
+              
+              
+              <tr>
+                <td width="14%">&nbsp;</td>
+                <td width="6%" align="right" nowrap="nowrap" 
class="label">${uiLabelMap.lotId}</td>
+                <td width="6%">&nbsp;</td>
+                <td width="74%">
+                  <input type="text" name="lotId" size="10"/>
+                </td>
+              </tr>
 
               <#-- facility location(s) -->
               <#assign facilityLocations = 
(product.getRelated("ProductFacilityLocation", 
Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId), null, 
false))?if_exists/>


Reply via email to