Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033248
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2016-06-13 18:332016-06-22 13:19
ReporterguilleaerView Statuspublic 
Assigned Toguilleaer 
PrioritylowResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc7170842cf8c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033248: Start recording menu option should not be visible even if user is an automatic one

DescriptionStart recording menu option should not be visible even if user is an automatic one
Steps To ReproduceLogin 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
Proposed Solutiondiff -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'
       });
TagsNo tags attached.
Attached Filesdiff file icon diffStartRecording.diff [^] (700 bytes) 2016-06-13 18:33 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0087271)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2016-06-13 18:33 guilleaer New Issue
2016-06-13 18:33 guilleaer Assigned To => guilleaer
2016-06-13 18:33 guilleaer File Added: diffStartRecording.diff
2016-06-13 18:33 guilleaer Triggers an Emergency Pack => No
2016-06-13 19:00 guilleaer Status new => scheduled
2016-06-14 12:07 marvintm Target Version RR16Q3 =>
2016-06-14 19:20 hgbot Checkin
2016-06-14 19:20 hgbot Note Added: 0087271
2016-06-14 19:20 hgbot Status scheduled => resolved
2016-06-14 19:20 hgbot Resolution open => fixed
2016-06-14 19:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c7170842cf8cd5d78c14baab446733852b468059 [^]
2016-06-22 13:19 marvintm Review Assigned To => marvintm
2016-06-22 13:19 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker