Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0030843 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | minor | always | 2015-09-16 17:15 | 2015-09-16 17:15 | |||||||
Reporter | guilleaer | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | 005-GAL-OpenbravoPOS-GoogleChrome.png [^] (287,649 bytes) 2015-09-16 17:15 | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 | Triggers an Emergency Pack | => No |
Copyright © 2000 - 2009 MantisBT Group |