IDEMPIERE-5087 - Wrong behaviour on the more toolbar popup after pressing the Archived Documents button (#1041)

This commit is contained in:
Diego Ruiz 2021-12-09 02:43:09 +01:00 committed by GitHub
parent 4439765e22
commit 669a9802c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -175,6 +175,10 @@ public class WArchive implements EventListener<Event>
av.query(true, m_AD_Table_ID, m_Record_ID);
else // all Reports
av.query(true, m_AD_Table_ID, 0);
if (m_popup.getParent() instanceof Popup) {
((Popup)m_popup.getParent()).close();
}
form.setAttribute(Window.MODE_KEY, form.getWindowMode());
SessionManager.getAppDesktop().showWindow(form);