Skip to content

Commit

Permalink
AggregationPickingSlotsViewFactory: use AD_Window.Name
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Oct 18, 2017
1 parent 0d173bb commit 24485d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.List;
import java.util.Properties;

import org.adempiere.ad.window.api.IADWindowDAO;
import org.adempiere.util.Services;
import org.compiere.util.Env;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -67,7 +68,7 @@ public ViewLayout getViewLayout(final WindowId windowId, final JSONViewDataType

return ViewLayout.builder()
.setWindowId(WINDOW_ID)
.setCaption("Picking slots")
.setCaption(Services.get(IADWindowDAO.class).retrieveWindowName(WINDOW_ID.toInt()))
.addElementsFromViewRowClass(PickingSlotRow.class, viewDataType)
.setHasTreeSupport(true)
.setIncludedViewLayout(IncludedViewLayout.builder()
Expand Down

0 comments on commit 24485d6

Please sign in to comment.