Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028867Openbravo ERPA. Platformpublic2015-02-04 17:432015-05-07 22:16
caristu 
NaroaIriarte 
highminoralways
closedfixed 
5
pi 
3.0PR15Q33.0PR15Q3 
alostale
Core
No
0028867: Widget Menu Items functionality does not work at widget instance level
Widget Menu Items functionality does not work at widget instance level. Currently it is only possible to create a new menu entry for the parent Query/List widget and HTML widget. It would be nice if it would be possible to add a menu item at widget instance level.
1) Go to the [Widget] window
2) Create a new widget, set Query/List widget as the parent widget
3) Navigate to the [Widget Menu Items] tab
4) Add the recently created widget in the workspace. Notice that the new added menu entry is not shown.
No tags attached.
related to design defect 0028865 new AugustoMauch Is not possible to modularize Widget Menu Items entries 
Issue History
2015-02-04 17:43caristuNew Issue
2015-02-04 17:43caristuAssigned To => AugustoMauch
2015-02-04 17:43caristuModules => Core
2015-02-04 17:43caristuTriggers an Emergency Pack => No
2015-02-04 17:43caristuRelationship addedrelated to 0028865
2015-02-04 17:44caristuIssue Monitored: networkb
2015-02-09 10:14caristuResolution time => 1429653600
2015-02-09 10:14caristuTarget Version => 3.0PR15Q2
2015-02-09 10:15caristuTypefeature request => defect
2015-02-09 10:16alostaleStatusnew => scheduled
2015-02-09 10:16alostaleAssigned ToAugustoMauch => inigosanchez
2015-02-09 10:16alostalefix_in_branch => pi
2015-02-09 12:37alostaleAssigned Toinigosanchez => NaroaIriarte
2015-02-19 14:46NaroaIriartefix_in_branchpi =>
2015-02-19 14:46NaroaIriarteSummaryWidget Menu Items functionality does not work ant widget instance level => Widget Menu Items functionality does not work at widget instance level
2015-02-19 14:46NaroaIriarteDescription Updatedbug_revision_view_page.php?rev_id=7715#r7715
2015-02-23 13:30jonalegriaesarteTarget Version3.0PR15Q2 => 3.0PR15Q3
2015-04-21 15:48alostaleReview Assigned To => alostale
2015-04-21 17:41hgbotCheckin
2015-04-21 17:41hgbotNote Added: 0076667
2015-04-21 17:41hgbotStatusscheduled => resolved
2015-04-21 17:41hgbotResolutionopen => fixed
2015-04-21 17:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ceb90ebdebd2e195c308c7e900c927108abe3dc5 [^]
2015-04-22 09:54alostaleNote Added: 0076678
2015-04-22 09:54alostaleStatusresolved => closed
2015-04-22 09:54alostaleFixed in Version => 3.0PR15Q3
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077140

Notes
(0076667)
hgbot   
2015-04-21 17:41   
Repository: erp/devel/pi
Changeset: ceb90ebdebd2e195c308c7e900c927108abe3dc5
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Fri Feb 27 14:42:02 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ceb90ebdebd2e195c308c7e900c927108abe3dc5 [^]

Fixed issue 28867:It isn't possible to create Menu Items from Widget instances

At first it was possible to create a new menu item entry if the selected Widget was a parent Widget,
but it was not possible if the current widget was an instance of a parent Widget.
For example if you create a new entry in the Query/List widget it wold be possible and it would show in
the Menu Item list of any instance of that Widget. But if you choose a concrete widget which has a
superclass of the type Query/List, and create a new menu item, it would be not possible to display it in the widget.

As it was interesting to be able to add a menu item at widget instance level, the logic which handled this has been changed.
Now it takes into account if the instanciated widget has a menu item.

It is only possible to add functionality to those item menus with functions defined in the OBWidget.js

---
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOBUtils.java
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-widget.js
---
(0076678)
alostale   
2015-04-22 09:54   
code reviewed

tested with menu item action both in widget and global
(0077140)
hudsonbot   
2015-05-07 22:16   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a1817f84bd8b [^]
Maturity status: Test