Openbravo Issue Tracking System - POS2
View Issue Details
0056141POS2POSpublic2024-07-31 15:102024-08-07 13:49
fermin_gascon 
fermin_gascon 
normalmajoralways
closedfixed 
5
 
24Q4 
adrianromero
No
0056141: 'Select payment' screen is shown when only one payment method is configured
Following the acceptance criteria 1.7 in the functional specification https://docs.google.com/document/d/1m5194dI-hTR_XQqn-1i_r0ebsxpyiLW0751Z5O9zr4A/edit [^] if only one payment method is configured, payment screen should be skipped and user should be redirected to the next step.
Pre-condition: Configure SCO to have only one payment method available

Steps to reproduce:

Log in to POS

Switch to SCO

Push ‘Start’ button

Scan one or more products

Push 'Finish and Pay' button

Confirm Baske
.
No tags attached.
Issue History
2024-07-31 15:10fermin_gasconNew Issue
2024-07-31 15:10fermin_gasconAssigned To => Retail
2024-07-31 15:10fermin_gasconTriggers an Emergency Pack => No
2024-07-31 15:10fermin_gasconAssigned ToRetail => fermin_gascon
2024-07-31 15:11fermin_gasconNote Added: 0167547
2024-08-07 13:41fermin_gasconNote Added: 0167799
2024-08-07 13:48hgbotResolutionopen => fixed
2024-08-07 13:48hgbotStatusnew => resolved
2024-08-07 13:48hgbotNote Added: 0167802
2024-08-07 13:48hgbotFixed in Version => 24Q4
2024-08-07 13:48hgbotNote Added: 0167803
2024-08-07 13:49adrianromeroReview Assigned To => adrianromero
2024-08-07 13:49adrianromeroNote Added: 0167804
2024-08-07 13:49adrianromeroStatusresolved => closed

Notes
(0167547)
fermin_gascon   
2024-07-31 15:11   
https://openbravo.atlassian.net/browse/RM-14867 [^]
(0167799)
fermin_gascon   
2024-08-07 13:41   
To test:
- Enable just one payment method in B.O
- Access SCO and add products
- Navigate to payment screen and see how the payment method is applied automatically
(0167802)
hgbot   
2024-08-07 13:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^]
Changeset: 5e50d9a491426b791781e3afd8b2ea94a49b99a8
Author: Fermín Gascón <f.gascon@orisha.com>
Date: 07-08-2024 11:48:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/5e50d9a491426b791781e3afd8b2ea94a49b99a8 [^]

Fixes ISSUE-56141: In SCO when there is just one payment method the payment must be automatically executed

---
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/Payments/PaymentPanel/PaymentPanel.jsx
---
(0167803)
hgbot   
2024-08-07 13:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 609a10ba7e92ab32e32b080f1f44cee85fa62b72
Author: Fermín Gascón <f.gascon@orisha.com>
Date: 07-08-2024 11:48:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/609a10ba7e92ab32e32b080f1f44cee85fa62b72 [^]

Fixes ISSUE-56141: In SCO when there is just one payment method the payment must be automatically executed

---
A web-jspack/org.openbravo.pos2/src/components/Payments/PaymentMethods/__test__/PaymentMethodsSCO.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentButton/PaymentButton.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentButton/__test__/PaymentButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentMethods/PaymentMethods.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentMethods/__test__/PaymentMethods.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentMethods/index.js
---
(0167804)
adrianromero   
2024-08-07 13:49   
reviewed