Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033248Retail ModulesWeb POSpublic2016-06-13 18:332016-06-22 13:19
guilleaer 
guilleaer 
lowminoralways
closedfixed 
5
 
 
marvintm
No
0033248: Start recording menu option should not be visible even if user is an automatic one
Start recording menu option should not be visible even if user is an automatic one
Login with a user wich belongs to an automatic role
Start recording menu option is being shown and it doesn't make sense.
This option just should be visible when preference is enabled or when system is running in development mode
diff -r 6679029e10a9 web/org.openbravo.mobile.core/source/component/ob-menu.js
--- a/web/org.openbravo.mobile.core/source/component/ob-menu.js Fri Jun 10 12:23:36 2016 +0200
+++ b/web/org.openbravo.mobile.core/source/component/ob-menu.js Mon Jun 13 18:32:06 2016 +0200
@@ -498,7 +498,7 @@
     });
 
     // add the menu entry if the 'Mobile Activate Recording Menu' preference is set to 'Y' and while in Development
- if (OB.MobileApp.model.get('permissions').OBMOBC_MenuRecording || OB.UTIL.Debug.isDebug()) {
+ if (OB.MobileApp.model.hasPermission('OBMOBC_MenuRecording', true) || OB.UTIL.Debug.isDebug()) {
       this.menuEntries.push({
         kind: 'OBMOBC.UI.MenuRecording'
       });
No tags attached.
diff diffStartRecording.diff (700) 2016-06-13 18:33
https://issues.openbravo.com/file_download.php?file_id=9518&type=bug
Issue History
2016-06-13 18:33guilleaerNew Issue
2016-06-13 18:33guilleaerAssigned To => guilleaer
2016-06-13 18:33guilleaerFile Added: diffStartRecording.diff
2016-06-13 18:33guilleaerTriggers an Emergency Pack => No
2016-06-13 19:00guilleaerStatusnew => scheduled
2016-06-14 12:07marvintmTarget VersionRR16Q3 =>
2016-06-14 19:20hgbotCheckin
2016-06-14 19:20hgbotNote Added: 0087271
2016-06-14 19:20hgbotStatusscheduled => resolved
2016-06-14 19:20hgbotResolutionopen => fixed
2016-06-14 19:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c7170842cf8cd5d78c14baab446733852b468059 [^]
2016-06-22 13:19marvintmReview Assigned To => marvintm
2016-06-22 13:19marvintmStatusresolved => closed

Notes
(0087271)
hgbot   
2016-06-14 19:20   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c7170842cf8cd5d78c14baab446733852b468059
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Jun 13 18:37:47 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c7170842cf8cd5d78c14baab446733852b468059 [^]

Fixed issue 33248: Start recording menu option is not shown for automatic roles

---
M web/org.openbravo.mobile.core/source/component/ob-menu.js
---