From 3791149ddcc79b2337d21be244f2f773513ea8f7 Mon Sep 17 00:00:00 2001 From: Diego Ruiz <12065321+d-ruiz@users.noreply.github.com> Date: Wed, 9 Aug 2023 14:36:48 +0200 Subject: [PATCH] IDEMPIERE-5824 - Fixed wrong entity type is set when creating a tab in an existing window using the Create Window, Tab & Field from Table process (#1968) --- .../src/org/compiere/process/CreateWindowFromTable.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.base.process/src/org/compiere/process/CreateWindowFromTable.java b/org.adempiere.base.process/src/org/compiere/process/CreateWindowFromTable.java index 864ee72c27..942f62917a 100644 --- a/org.adempiere.base.process/src/org/compiere/process/CreateWindowFromTable.java +++ b/org.adempiere.base.process/src/org/compiere/process/CreateWindowFromTable.java @@ -173,6 +173,7 @@ public class CreateWindowFromTable extends SvrProcess } MTab tab = new MTab(window); + tab.setEntityType(entityType); tab.setSeqNo(tabSeqNo); tab.setName(table.getName()); tab.setAD_Table_ID(p_AD_Table_ID);