From af49588c1d2bc983b348bbecfd119f409f234989 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 27 Feb 2011 01:06:37 -0500 Subject: [PATCH] Error when ClientShare is defined as Client Only and the table is defined with access level All - Adempiere must enforce org=0 in these cases --- org.adempiere.base/src/org/compiere/model/PO.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.base/src/org/compiere/model/PO.java b/org.adempiere.base/src/org/compiere/model/PO.java index eb385c7608..970a6e9652 100644 --- a/org.adempiere.base/src/org/compiere/model/PO.java +++ b/org.adempiere.base/src/org/compiere/model/PO.java @@ -1989,6 +1989,7 @@ public abstract class PO { reset = get_AccessLevel() == ACCESSLEVEL_CLIENT || get_AccessLevel() == ACCESSLEVEL_SYSTEMCLIENT + || get_AccessLevel() == ACCESSLEVEL_ALL || get_AccessLevel() == ACCESSLEVEL_CLIENTORG; } if (reset)