Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032326Retail ModulesWeb POSpublic2016-02-15 22:042016-03-08 10:49
agete 
jorge-garcia 
highminoralways
closedfixed 
5
 
RR15Q4.5RR15Q4.5 
marvintm
No
0032326: [SERQA 692] Javscript error when adding a manual discount
"Promotion and Discount: If we insert a manual amount discount without pressing ENTER or Discount, WE get a javascript error.

1. In backend create a Discount and promotion woth the following information:
- Org: *
- Discount/promotion type: User Defined Amount
- Name: Amount discount
- Starting date: 1/2/2016
Leave the other fields as thy are by default
2. In web POS create a receipt and add the product "headlamp ultralight"
3. In menu select the option Receipt discounts
4. In payment pannel select the option Amount discount
5. Check both options,
Override existing promotions
Apply to all lines
6. Click amount 12 (without pressing the button DISCOUNT or ENTER)
7. Click the button APPLY
ERROR--> a javascript error appears
Instead of the javascript error, we should have a Error message saying por example: "you must click enter or DISCOUNT before APPLY button in order to add the discount to the receipt"
No tags attached.
blocks defect 0032243 closed ranjith_qualiantech_com [SERQA 692] Javscript error when adding a manual discount 
patch issue 32326 posterminal RR15Q4.5 6111.patch (1,170) 2016-02-25 17:45
https://issues.openbravo.com/file_download.php?file_id=9107&type=bug
Issue History
2016-02-24 14:19OrekariaTypedefect => backport
2016-02-24 14:19OrekariaTarget Version => RR15Q4.5
2016-02-25 17:45ranjith_qualiantech_comFile Added: issue 32326 posterminal RR15Q4.5 6111.patch
2016-02-29 18:16marvintmSeveritymajor => minor
2016-03-07 17:27hgbotCheckin
2016-03-07 17:27hgbotNote Added: 0084791
2016-03-07 17:27hgbotStatusscheduled => resolved
2016-03-07 17:27hgbotResolutionopen => fixed
2016-03-07 17:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/94638e56e37bc53643b40c083e5866b59792139b [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4.5/org.openbravo.retail.posterminal/rev/19b4aa74a36b056d20bab44f85cc6cab883da2a4 [^]
2016-03-07 17:34jorge-garciaAssigned Toranjith_qualiantech_com => jorge-garcia
2016-03-08 10:49marvintmReview Assigned To => marvintm
2016-03-08 10:49marvintmStatusresolved => closed
2016-03-08 10:49marvintmFixed in Version => RR15Q4.5

Notes
(0084791)
hgbot   
2016-03-07 17:27   
Repository: retail/backports/3.0RR15Q4.5/org.openbravo.retail.posterminal
Changeset: 19b4aa74a36b056d20bab44f85cc6cab883da2a4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 07 17:26:46 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.5/org.openbravo.retail.posterminal/rev/19b4aa74a36b056d20bab44f85cc6cab883da2a4 [^]

Fixed issue 32326: [SERQA 692] Javscript error when adding a manual discount

Backport of issue 32243 for 3.0RR15Q4.5

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ticketdiscount.js
---