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
This commit is contained in:
parent
38a5d1b420
commit
af49588c1d
|
@ -1989,6 +1989,7 @@ public abstract class PO
|
||||||
{
|
{
|
||||||
reset = get_AccessLevel() == ACCESSLEVEL_CLIENT
|
reset = get_AccessLevel() == ACCESSLEVEL_CLIENT
|
||||||
|| get_AccessLevel() == ACCESSLEVEL_SYSTEMCLIENT
|
|| get_AccessLevel() == ACCESSLEVEL_SYSTEMCLIENT
|
||||||
|
|| get_AccessLevel() == ACCESSLEVEL_ALL
|
||||||
|| get_AccessLevel() == ACCESSLEVEL_CLIENTORG;
|
|| get_AccessLevel() == ACCESSLEVEL_CLIENTORG;
|
||||||
}
|
}
|
||||||
if (reset)
|
if (reset)
|
||||||
|
|
Loading…
Reference in New Issue