Author: jacopoc
Date: Wed Mar 26 11:32:32 2014
New Revision: 1581788

URL: http://svn.apache.org/r1581788
Log:
Removed code based on a field that doesn't exist.

Modified:
    
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

Modified: 
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?rev=1581788&r1=1581787&r2=1581788&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
 (original)
+++ 
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
 Wed Mar 26 11:32:32 2014
@@ -247,12 +247,7 @@ under the License.
             <entity-one value-field="paymentType" entity-name="PaymentType">
                 <field-map field-name="paymentTypeId" 
from-field="payment.paymentTypeId"/>
             </entity-one>
-            <if-compare-field operator="equals" field="toPayment.parentTypeId" 
to-field="payment.parentTypeId">
-                <add-error>
-                    <fail-property resource="AccountingUiLabels" 
property="AccountingPaymentParentTypesNotCompatible"/>
-                </add-error>
-            </if-compare-field>
-            
+
             <!-- when amount not provided use the the lowest value available 
-->
             <if-empty field="parameters.amountApplied">
                 <call-class-method method-name="getPaymentNotApplied" 
class-name="org.ofbiz.accounting.payment.PaymentWorker" 
ret-field="notAppliedPayment">


Reply via email to