Notes |
|
(0091979)
|
hgbot
|
2016-12-01 16:04
|
|
Repository: erp/devel/pi
Changeset: e9f96baecaae64773cc68841e477d143592b9846
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Dec 01 16:03:13 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e9f96baecaae64773cc68841e477d143592b9846 [^]
fixes issue 34462: Process Definition menu icon should depend on the UI Pattern
The report icon is now selected both when using the quick launch search and the application menu. For this second case, now the UI Pattern is also sent to the client as part of the process definition menu entry. This helps to identify the type of process definition when retrieving the icon for the application menu entry.
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationConstants.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/GlobalMenu.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/QuickLaunchDataSource.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/templates/application-menu.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ParameterWindowComponent.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-application-menu.js
---
|
|
|
|
Reopening:
Created 2 process definitions:
* "p1" -> Standard UI
* "r1" -> Report
Checked icons (see attached images):
* In Quick Launch: correct
* In Application Menu: incorrect, still appears gear icon |
|
|
|
Previous comment was incorrect.
Code reviewed
Tested by creating a process definition report: icon is correctly shown in Application Menu, Quick Launch and Recent Views |
|
|
|
|