IDEMPIERE-5615 Record Info Dialog wrong when open in Detail tab (#1704)

This commit is contained in:
Carlos Ruiz 2023-03-09 05:33:41 +01:00 committed by GitHub
parent fe72b671ab
commit b88b8e9ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1395,6 +1395,7 @@ public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
if (gridTab.isNew() || gridTab.getRowCount() == 0)
return;
DataStatusEvent dse = new DataStatusEvent(gridTab, gridTab.getRowCount(), gridTab.needSave(true, true), true, false);
dse.AD_Table_ID = gridTab.getAD_Table_ID();
gridTab.updateDataStatusEventProperties(dse);
dse.setCurrentRow(gridTab.getCurrentRow());
String title = Msg.getMsg(Env.getCtx(), "Who") + btnRecordInfo.getLabel();