From 5c9b4233aa806bb60af85880208e46bc69c4fe9c Mon Sep 17 00:00:00 2001 From: Nicolas Micoud Date: Thu, 23 Nov 2017 14:26:16 +0100 Subject: [PATCH] IDEMPIERE-3555 WFieldSuggestion doesn't display translated field name --- .../src/org/adempiere/webui/window/WFieldSuggestion.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WFieldSuggestion.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WFieldSuggestion.java index 23117078ed..1e33f47f05 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WFieldSuggestion.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WFieldSuggestion.java @@ -33,7 +33,7 @@ public class WFieldSuggestion extends Window implements EventListener { /** * generated serial id */ - private static final long serialVersionUID = -6676085940275829510L; + private static final long serialVersionUID = 6696533431007741092L; private ConfirmPanel confirmPanel; @@ -81,7 +81,7 @@ public class WFieldSuggestion extends Window implements EventListener { Rows rows = grid.newRows(); Row row = rows.newRow(); row.appendCellChild(new Label(Msg.getElement(Env.getCtx(), "AD_Field_ID"))); - row.appendCellChild(new Label(field.getName())); + row.appendCellChild(new Label(field.get_Translation("Name"))); row = rows.newRow(); row.appendCellChild(new Label(Msg.getElement(Env.getCtx(), "Name")));