You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2017/10/28 13:05:53 UTC

svn commit: r1813624 - /ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml

Author: arunpatidar
Date: Sat Oct 28 13:05:53 2017
New Revision: 1813624

URL: http://svn.apache.org/viewvc?rev=1813624&view=rev
Log:
BUG: Service level check is missing on transfer inventory. (OFBIZ-9842)
Thanks Mr. Khurana for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml?rev=1813624&r1=1813623&r2=1813624&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml Sat Oct 28 13:05:53 2017
@@ -915,7 +915,6 @@ under the License.
         <find-by-primary-key entity-name="InventoryTransfer" map="lookupPKMap" value-field="inventoryTransfer"/>
 
         <if-not-empty field="parameters.statusId">
-            <if-compare-field field="parameters.statusId" to-field="inventoryTransfer.statusId" operator="not-equals">
                 <!-- make sure a StatusValidChange record exists, if not return error -->
                 <entity-one entity-name="StatusValidChange" value-field="checkStatusValidChange" auto-field-map="false">
                     <field-map field-name="statusId" from-field="inventoryTransfer.statusId"/>
@@ -925,7 +924,6 @@ under the License.
                     <set value="ERROR: Changing the status from ${inventoryTransfer.statusId} to ${parameters.statusId} is not allowed." field="error_list[]"/>
                 </if-empty>
                 <check-errors/>
-            </if-compare-field>
         </if-not-empty>
 
         <set-nonpk-fields map="parameters" value-field="inventoryTransfer"/>