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:
Carlos Ruiz 2011-02-27 01:06:37 -05:00
parent 38a5d1b420
commit af49588c1d
1 changed files with 1 additions and 0 deletions

View File

@ -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)