IDEMPIERE-1756 include also read-only records
This commit is contained in:
parent
fdc607bb78
commit
80e519c760
|
@ -230,7 +230,7 @@ public class DPRecentItems extends DashboardPanel implements EventListener<Event
|
|||
for (MRecentItem ri : ris) {
|
||||
if (ri.getAD_Window_ID() > 0 && MRole.getDefault().getWindowAccess(ri.getAD_Window_ID()) == null)
|
||||
continue;
|
||||
if (ri.getAD_Window_ID() > 0 && !MRole.getDefault().isRecordAccess(ri.getAD_Table_ID(), ri.getRecord_ID(), false))
|
||||
if (ri.getAD_Window_ID() > 0 && !MRole.getDefault().isRecordAccess(ri.getAD_Table_ID(), ri.getRecord_ID(), true))
|
||||
continue;
|
||||
|
||||
String label = ri.getLabel();
|
||||
|
|
Loading…
Reference in New Issue