Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032338Retail ModulesWeb POSpublic2016-02-25 11:072016-03-11 13:29
paul_guiot 
jorge-garcia 
highmajoralways
closedfixed 
5
 
RR16Q2 
marvintm
No
0032338: [SERQA 737] Promotion issue in WEBPOS: Entering an amount
Issue related to the promotions. When we insert an amount for the discount without clicking "enter", we have the correct message "This promotion type requires a amount/percentage to be discounted." Nevertheless, when we click on Enter after the message, we are supposed to enter de amount as the discount (% or fixed amount). The amount is not inserted properly.
Steps:
- Login in the ERP
- Go to Discounts and Promotions window
- Create a new discount
   * Org: Vall Blanca Store
   * Promotion Type: User Defined Amount
   * Name: test
   * Starting Date: 01-01-1990
   * Discounted Amount: -leave empty-
   * Currency: EUR
- Login the WEBPOS, Terminal VBS1
- Create a new ticket;
   * Tap on Search
   * Select a product (eg Alpine poles)
   * Click on the Pay button
   * Add a total or partial payment in cash
   * In the menu select "Receipt Discount"
   * In the discount field, choose "test"
   * Select "Apply to all lines"
   * In the POS keyboard, click on the number "8"
   * Click Apply and check that the message is shown: "Amount/percentage is required". Click OK.
   * Click The enter button of the POS keypad. Check that the value is not set in the discount.
   * Click again on the number "8" and tap on the enter button of the POS keypad. Check that now the value is set in the discount.
   * Click on Apply button and check that the discount is applied to all lines.
   * Tap in the Pay button and check that 8€ has been added to the payment and this is wrong.
SER-QA
Issue History
2016-02-25 11:07paul_guiotNew Issue
2016-02-25 11:07paul_guiotAssigned To => Retail
2016-02-25 11:07paul_guiotTriggers an Emergency Pack => No
2016-02-25 11:33ageteResolution time => 1457564400
2016-02-25 11:34ageteTag Attached: SER-QA
2016-02-25 11:34OrekariaStatusnew => acknowledged
2016-02-25 13:21jorge-garciaStatusacknowledged => scheduled
2016-02-25 13:21jorge-garciaAssigned ToRetail => jorge-garcia
2016-02-26 14:09jorge-garciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11267#r11267
2016-03-03 16:03hgbotCheckin
2016-03-03 16:03hgbotNote Added: 0084689
2016-03-03 16:03hgbotStatusscheduled => resolved
2016-03-03 16:03hgbotResolutionopen => fixed
2016-03-03 16:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b5c1feab929204c4fe988e84b59ff8df908d5261 [^]
2016-03-03 16:03hgbotCheckin
2016-03-03 16:03hgbotNote Added: 0084690
2016-03-11 13:29marvintmReview Assigned To => marvintm
2016-03-11 13:29marvintmStatusresolved => closed
2016-03-11 13:29marvintmFixed in Version => RR16Q2

Notes
(0084689)
hgbot   
2016-03-03 16:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b5c1feab929204c4fe988e84b59ff8df908d5261
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Feb 29 13:50:08 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b5c1feab929204c4fe988e84b59ff8df908d5261 [^]

Fixed issue 32338: [SERQA 737] Promotion issue in WEBPOS: Entering an amount

The solution is to clean the input of the POS when the POS is navigating to the
Receipt discounts tab.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js
---
(0084690)
hgbot   
2016-03-03 16:03   
Repository: tools/automation/pi-mobile
Changeset: 3eaf519f78d4089837879784b0f5c23b7146539c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Mar 03 16:02:34 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3eaf519f78d4089837879784b0f5c23b7146539c [^]

Verifies issue 32338: [SERQA 737] Promotion issue in WEBPOS: Entering an amount

Added test I32338_ApplyManualPromoAfterTapButtonPay.

---
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/discountsandpromotions/I32338_ApplyManualPromoAfterTapButtonPay.java
---