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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030843
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2015-09-16 17:152015-09-16 17:15
ReporterguilleaerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030843: When discretionary discounts keyboard is not enabled, discount button raise an error if it is used without select lines

DescriptionWhen 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 Reproduceset 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 SolutionCheck that lines are not selected. If this is the case then ignore action without show error.
TagsNo tags attached.
Attached Filespng file icon 005-GAL-OpenbravoPOS-GoogleChrome.png [^] (287,649 bytes) 2015-09-16 17:15

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker