details:   https://code.openbravo.com/erp/devel/pi/rev/c51687516a3d
changeset: 35648:c51687516a3d
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Thu Apr 11 11:32:25 2019 +0200
summary:   related to issue 40591: fixed test query

diffstat:

 src-test/src/org/openbravo/test/dal/DalComplexQueryTestOrderLine.java |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 17fff2db996a -r c51687516a3d 
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");


_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to