related to issue 40591: fixed test query
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 11 Apr 2019 11:32:25 +0200
changeset 35688 c51687516a3d
parent 35687 17fff2db996a
child 35689 435585a9485d
related to issue 40591: fixed test query
src-test/src/org/openbravo/test/dal/DalComplexQueryTestOrderLine.java
--- a/src-test/src/org/openbravo/test/dal/DalComplexQueryTestOrderLine.java	Thu Apr 11 10:28:24 2019 +0200
+++ b/src-test/src/org/openbravo/test/dal/DalComplexQueryTestOrderLine.java	Thu Apr 11 11:32:25 2019 +0200
@@ -198,8 +198,8 @@
     whereClause.append(" and ol.salesOrder.documentStatus='CO' ");
 
     // Add the readable organization and client clauses
-    whereClause.append(" and ol.organization in :orgs");
-    whereClause.append(" and ol.client in :clients");
+    whereClause.append(" and ol.organization.id in :orgs");
+    whereClause.append(" and ol.client.id in :clients");
 
     // append active
     whereClause.append(" and ol.active=true");