Openbravo Issue Tracking System - Retail Modules  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0030843 | Retail Modules | Web POS | public | 2015-09-16 17:15 | 2015-09-16 17:15 | 
| Reporter | guilleaer | ||||
| Assigned To | Retail | ||||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0030843: When discretionary discounts keyboard is not enabled, discount button raise an error if it is used without select lines | ||||
| Description | When discretionary discounts keyboard button is not enabled (preference OBPOS_retail.discountkeyboard = 'N') then the discount button raise an error if it is used without select lines | ||||
| Steps To Reproduce | set preference to N Log in in web POS Ensure that preference value is false (OB.MobileApp.model.get('permissions')['OBPOS_retail.discountkeyboard']) press discount button press "5" button press discount button or "intro" button An error is shown TypeError: Cannot read property 'getQty' of undefined at Object.addCommand.action (http://localhost:8080/openbravo//web/js/gen/54c28e7627606fc9e2e440c1a8ed9a6f_WebPOS.js:1673:96 [^]) at Object.enyo.kind.execCommand (http://localhost:8080/openbravo//web/js/gen/54c28e7627606fc9e2e440c1a8ed9a6f_WebPOS.js:712:111 [^]) at Object.enyo.kind.commandHandler (http://localhost:8080/openbravo//web/js/gen/54c28e7627606fc9e2e440c1a8ed9a6f_WebPOS.js:713:205 [^]) at Object.enyo.kind.dispatch (http://localhost:8080/openbravo/web/org.openbravo.mobile.core/build/enyo.js:628:17 [^]) at Object.enyo.kind.dispatchEvent (http://localhost:8080/openbravo/web/org.openbravo.mobile.core/build/enyo.js:612:30 [^]) at Object.enyo.kind.inherited (http://localhost:8080/openbravo/web/org.openbravo.mobile.core/build/enyo.js:410:28 [^]) at Object.enyo.kind.dispatchEvent (http://localhost:8080/openbravo/web/org.openbravo.mobile.core/build/enyo.js:1338:78 [^]) at Object.enyo.kind.dispatchBubble (http://localhost:8080/openbravo/web/org.openbravo.mobile.core/build/enyo.js:616:13 [^]) at Object.enyo.kind.bubble (http://localhost:8080/openbravo/web/org.openbravo.mobile.core/build/enyo.js:604:62 [^])  | ||||
| Proposed Solution | Check that lines are not selected. If this is the case then ignore action without show error. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=8454&type=bug  | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-09-16 17:15 | guilleaer | New Issue | |||
| 2015-09-16 17:15 | guilleaer | Assigned To | => Retail | ||
| 2015-09-16 17:15 | guilleaer | File Added: 005-GAL-OpenbravoPOS-GoogleChrome.png | |||
| 2015-09-16 17:15 | guilleaer | OBNetwork customer | => No | ||
| 2015-09-16 17:15 | guilleaer | Triggers an Emergency Pack | => No | ||
| There are no notes attached to this issue. |