IDEMPIERE-468 Problem when using Immediate Client Accounting

This commit is contained in:
Carlos Ruiz 2012-10-23 16:08:46 -05:00
parent 822c42c89a
commit cc8a577d87
3 changed files with 3 additions and 4 deletions

View File

@ -609,8 +609,7 @@ public class Doc_InOut extends Doc
} // createFact
private boolean isReversal(DocLine line) {
return m_DocStatus.equals(MInOut.DOCSTATUS_Reversed)
&& m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
return m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
}
} // Doc_InOut

View File

@ -235,7 +235,7 @@ public class Doc_Inventory extends Doc
} // createFact
private boolean isReversal(DocLine line) {
return m_DocStatus.equals(MInventory.DOCSTATUS_Reversed) && m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
return m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
}
} // Doc_Inventory

View File

@ -224,7 +224,7 @@ public class Doc_Movement extends Doc
} // createFact
private boolean isReversal(DocLine line) {
return m_DocStatus.equals(MMovement.DOCSTATUS_Reversed) && m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
return m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
}
} // Doc_Movement