IDEMPIERE-4742 Delete button on detail tab is not disabled for processed records (#636)
This commit is contained in:
parent
0fb7bc9a35
commit
44edbf4b07
|
@ -843,7 +843,7 @@ public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
|
|||
{
|
||||
deleteRecord = adtab.getGridTab().isDeleteRecord();
|
||||
}
|
||||
boolean enableDelete = !changed && deleteRecord && !adtab.getGridTab().isSortTab();
|
||||
boolean enableDelete = !changed && deleteRecord && !adtab.getGridTab().isSortTab() && !adtab.getGridTab().isProcessed();
|
||||
boolean enableCustomize = !adtab.getGridTab().isSortTab() && adtab.isGridView();
|
||||
|
||||
ADWindow adwindow = ADWindow.findADWindow(this);
|
||||
|
|
Loading…
Reference in New Issue