diff --git a/base/src/org/compiere/model/MMovement.java b/base/src/org/compiere/model/MMovement.java index 6acba19d2a..cab4b0c961 100644 --- a/base/src/org/compiere/model/MMovement.java +++ b/base/src/org/compiere/model/MMovement.java @@ -86,7 +86,7 @@ public class MMovement extends X_M_Movement implements DocAction return m_lines; } // - String whereClause = ""; + String whereClause = "M_Movement_ID=?"; List list = new Query(getCtx(), MMovement.Table_Name, whereClause, null) .setParameters(new Object[]{"Y", getM_Movement_ID()}) .setOrderBy("Line")