You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2014/03/26 12:32:32 UTC
svn commit: r1581788 -
/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
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">