Author: jacopoc
Date: Tue Nov 24 13:32:37 2009
New Revision: 883688
URL:
http://svn.apache.org/viewvc?rev=883688&view=revLog:
Fixed failing accounting test.
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml?rev=883688&r1=883687&r2=883688&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml Tue Nov 24 13:32:37 2009
@@ -476,9 +476,13 @@
<if-compare field="totalIssuedQty_MAT_A_COST" operator="equals" value="4.0" type="BigDecimal"/>
<if-compare field="totalIssuedQty_MAT_B_COST" operator="equals" value="6.0" type="BigDecimal"/>
</assert>
- <entity-and entity-name="AcctgTrans" list="acctgTransList">
- <field-map field-name="acctgTransTypeId" value="INVENTORY"/>
- </entity-and>
+ <entity-condition entity-name="AcctgTrans" list="acctgTransList">
+ <condition-list combine="and">
+ <condition-expr field-name="acctgTransTypeId" operator="equals" value="INVENTORY"/>
+ <condition-expr field-name="acctgTransId" operator="not-equals" value="6003"/>
+ <condition-expr field-name="acctgTransId" operator="not-equals" value="6004"/>
+ </condition-list>
+ </entity-condition>
<assert><not><if-empty field="acctgTransList"/></not></assert>
<iterate list="acctgTransList" entry="acctgTrans">