Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030109Retail ModulesWeb POSpublic2015-06-05 10:362015-06-10 13:18
malsasua 
Retail 
immediateminoralways
scheduledopen 
20Community Appliance
pi 
 
Production - QA Approved
2015-03-10
RR15Q2
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7564ee29fa2f328e32f2ae33aa458dee4e89d7d5 [^]
No
0030109: keyboard discount button is disabled with preference set to N and automatic roles
When the user is login with automatic role, and the preference "Web POS action Apply discount" is set to N, the keyboard discount button is disabled, and it should be enabled
. login in webops with user vallblanca
. add new line in receipt
. select the line

keyboard discount button is disabled
the line
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/web/org.openbravo.mobile.core/source/component/ob-keyboard.js#l141 [^]

The problem is not in the changeset that created the regression, the problem is that the permission is wrong defined:
the second param in haspermission function, should be false.
No tags attached.
depends on backport 0030110RR15Q3 closed Retail keyboard discount button is disabled with preference set to N and automatic roles 
depends on backport 0030111RR15Q2.3 closed Retail keyboard discount button is disabled with preference set to N and automatic roles 
caused by defect 0028551RR15Q2 closed mario_castello Preference Web POS action Apply discount is not working fine the first time 
Issue History
2015-06-05 10:36malsasuaNew Issue
2015-06-05 10:36malsasuaAssigned To => Retail
2015-06-05 10:36malsasuaRegression level => Production - QA Approved
2015-06-05 10:36malsasuaRegression date => 2015-03-10
2015-06-05 10:36malsasuaRegression introduced in release => RR15Q2
2015-06-05 10:36malsasuaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7564ee29fa2f328e32f2ae33aa458dee4e89d7d5 [^]
2015-06-05 10:36malsasuaTriggers an Emergency Pack => No
2015-06-05 10:37malsasuaStatusnew => scheduled
2015-06-10 13:18dmitry_mezentsevRelationship addedcaused by 0028551

There are no notes attached to this issue.