Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034793Retail ModulesWeb POSpublic2016-12-20 18:422016-12-21 16:36
paul_guiot 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q1 
marvintm
No
0034793: [SERQA 2178] JSON Error
When we try to pay a ticket with the option "Pay open ticket" with a payment method that contains a castegory, we have an error

See video
Go to the backoffice:https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]
- Screen POS Payment Method category and create one:
* Organization: *
* Name: Test
* Active: Flagged
Save

Go to the Webpos (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^] with the user Vallblanca)

- Create a ticket
* Add a product (ej: Adhesive body warmers classic) DonĀ“t pay the ticket
* Create a new ticket (Star *)
- In the menu, click on "Pay open tickets"
- Select the ticket just created in the step 1
- Select "Test" as the payment method
- A pop up occures
- Close it and try to pay the ticket

An JSON Error appears
The error should not appear.
No tags attached.
? 2178.mp4 (1,127,636) 2016-12-20 18:42
https://issues.openbravo.com/file_download.php?file_id=10196&type=bug
Issue History
2016-12-20 18:42paul_guiotNew Issue
2016-12-20 18:42paul_guiotAssigned To => Retail
2016-12-20 18:42paul_guiotFile Added: 2178.mp4
2016-12-20 18:42paul_guiotResolution time => 1483225200
2016-12-20 18:42paul_guiotTriggers an Emergency Pack => No
2016-12-21 09:16ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-12-21 09:16ranjith_qualiantech_comStatusnew => scheduled
2016-12-21 09:20jorge-garciaResolution time1483225200 => 1483398000
2016-12-21 15:27hgbotCheckin
2016-12-21 15:27hgbotNote Added: 0092911
2016-12-21 15:27hgbotStatusscheduled => resolved
2016-12-21 15:27hgbotResolutionopen => fixed
2016-12-21 15:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/14ddf953b882f5ec3fcb190f21d8088c21f2f6bc [^]
2016-12-21 15:27hgbotCheckin
2016-12-21 15:27hgbotNote Added: 0092912
2016-12-21 16:36marvintmReview Assigned To => marvintm
2016-12-21 16:36marvintmStatusresolved => closed
2016-12-21 16:36marvintmFixed in Version => RR17Q1

Notes
(0092911)
hgbot   
2016-12-21 15:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 14ddf953b882f5ec3fcb190f21d8088c21f2f6bc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Dec 21 19:27:51 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/14ddf953b882f5ec3fcb190f21d8088c21f2f6bc [^]

Fixes issue 34793 : Added Validations for Grouped Payment Methods

* Grouped Payment popup should be opened if there is no payment selected
* Input value should be validated if it exists

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
---
(0092912)
hgbot   
2016-12-21 15:27   
Repository: tools/automation/pi-mobile
Changeset: c4daa882af33b844e233af0d5bff5f2e20537883
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Dec 21 19:55:52 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c4daa882af33b844e233af0d5bff5f2e20537883 [^]

Verifies issue 34793 : Added automated test 'I34793_VerifyPaymentMethodSelection'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I34793_VerifyPaymentMethodSelection.java
---