Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033678Retail ModulesWeb POSpublic2016-08-10 13:002016-08-19 09:16
0033678: Approval fail to grant access to the funcionality
Approval fail to grant access to the funcionality
Configure a user A to require approval for cash management
Configure a user B with cash management approval permission
Login with user A in the WebPOS
Perform a cash management
Enter user B credentials
Verify that the process cannot be performed with this two conditions.

1. If User(B) is assigned with multiple roles(One role InActive) and each role as same preference.
1. If User(B) is has same preference assigned multiple times
No tags attached.
depends on backport 0033679RR16Q3.1 closed mario_castello Approval fail to grant access to the funcionality 
depends on backport 0033680RR16Q2.2 closed mario_castello Approval fail to grant access to the funcionality 
patch 33678.patch (1,714) 2016-08-16 16:31
Issue History
2016-08-10 13:00OrekariaNew Issue
2016-08-10 13:00OrekariaAssigned To => simbu94
2016-08-10 13:00OrekariaTriggers an Emergency Pack => No
2016-08-10 13:01OrekariaStatusnew => scheduled
2016-08-10 13:01OrekariaIssue Monitored: Orekaria
2016-08-10 13:02OrekariaStatusscheduled => feedback
2016-08-10 13:02OrekariaStatusfeedback => new
2016-08-10 13:02simbu94File Added: CheckApproval.patch
2016-08-10 13:08simbu94Steps to Reproduce Updatedbug_revision_view_page.php?rev_id=12818#r12818
2016-08-16 16:30simbu94Assigned Tosimbu94 =>
2016-08-16 16:30simbu94File Deleted: CheckApproval.patch
2016-08-16 16:30simbu94File Added: 33678.patch
2016-08-16 16:31simbu94File Deleted: 33678.patch
2016-08-16 16:31simbu94File Added: 33678.patch
2016-08-16 16:52mario_castelloAssigned To => mario_castello
2016-08-16 16:53mario_castelloStatusnew => acknowledged
2016-08-17 17:20mario_castelloStatusacknowledged => scheduled
2016-08-18 19:26hgbotCheckin
2016-08-18 19:26hgbotNote Added: 0089227
2016-08-18 19:26hgbotStatusscheduled => resolved
2016-08-18 19:26hgbotResolutionopen => fixed
2016-08-18 19:26hgbotFixed in SCM revision => [^]
2016-08-19 09:16guilleaerReview Assigned To => guilleaer
2016-08-19 09:16guilleaerStatusresolved => closed
2016-08-19 09:16guilleaerFixed in Version => RR16Q4

2016-08-18 19:26   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 51d3806eaf730769dfee520094e1e2e12dc8bb09
Author: Mario Castello <mario.castello <at>>
Date: Wed Aug 17 15:39:04 2016 -0600
URL: [^]

Fixes issue 33678: Two issues related to Check Approval
- Approval fails if User has two roles(one inactive and one active) and one same preference for each role
- Approval Fails if User has same preference assigned multiple times

M src/org/openbravo/retail/posterminal/utility/