Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022473Retail ModulesWeb POSpublic2012-12-06 16:312012-12-24 12:50
guilleaer 
guilleaer 
normalminoralways
closedfixed 
5
 
RMP18 
No
0022473: Menu items which opens windows are enabled even without having permission to navigate to them
In this moment the menu items are enabled but the navigation is not allowed. The correct behavior is to be disabled.
Login in webpos with a user without permission to navigate to cash up or cash managment.

The menu item is enabled and when the item is clicked the menu is closed and the navigation is not done.
No tags attached.
depends on defect 0022471RMP18 closed guilleaer Menu is hidden when some disabled options are clicked 
diff diff22473_windowsmenuitemsdisabled.diff (1,716) 2012-12-06 16:41
https://issues.openbravo.com/file_download.php?file_id=5795&type=bug
Issue History
2012-12-06 16:31guilleaerNew Issue
2012-12-06 16:31guilleaerAssigned To => guilleaer
2012-12-06 16:41guilleaerStatusnew => scheduled
2012-12-06 16:41guilleaerfix_in_branch => pi
2012-12-06 16:41guilleaerFile Added: diff22473_windowsmenuitemsdisabled.diff
2012-12-06 16:42guilleaerNote Added: 0054759
2012-12-06 16:42guilleaerRelationship addeddepends on 0022471
2012-12-17 12:28hgbotCheckin
2012-12-17 12:28hgbotNote Added: 0054976
2012-12-17 12:28hgbotStatusscheduled => resolved
2012-12-17 12:28hgbotResolutionopen => fixed
2012-12-17 12:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/30742e77f95e1a5297067cc900a6242319a8711a [^]
2012-12-18 09:18hgbotCheckin
2012-12-18 09:18hgbotNote Added: 0055034
2012-12-18 09:53hgbotCheckin
2012-12-18 09:53hgbotNote Added: 0055035
2012-12-24 12:50migueldejuanaNote Added: 0055175
2012-12-24 12:50migueldejuanaStatusresolved => closed

Notes
(0054759)
guilleaer   
2012-12-06 16:42   
Attached a fix to this problem. This fix will be included in RMP18.
(0054976)
hgbot   
2012-12-17 12:28   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 30742e77f95e1a5297067cc900a6242319a8711a
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Dec 17 12:27:28 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/30742e77f95e1a5297067cc900a6242319a8711a [^]

fixed issue 22473: Disabled items of menu doesn't do anything when are clicked

---
M web/org.openbravo.retail.posterminal/js/components/commonbuttons.js
M web/org.openbravo.retail.posterminal/js/components/menu.js
---
(0055034)
hgbot   
2012-12-18 09:18   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8032b9619ff9bf3baa778496fb883ea308cc3269
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Dec 18 09:17:43 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8032b9619ff9bf3baa778496fb883ea308cc3269 [^]

related to issue 22434: change required by issue 22473

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
---
(0055035)
hgbot   
2012-12-18 09:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a211ef81c63e9971a163cf13b6bd2d9e827b122a
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Dec 18 09:52:57 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a211ef81c63e9971a163cf13b6bd2d9e827b122a [^]

related to issue 22473: Window navigation items of the menu are disabled when permission doesn't allow access to this window

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/view/cashmgmt.js
M web/org.openbravo.retail.posterminal/js/closecash/view/closecash.js
M web/org.openbravo.retail.posterminal/js/components/menu.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0055175)
migueldejuana   
2012-12-24 12:50   
Tested and reviewed in @4d2a5076522a