Openbravo Issue Tracking System - POS2
View Issue Details
0049836POS2POSpublic2022-07-19 10:422022-07-20 12:33
javierRodriguez 
javierRodriguez 
normalmajoralways
closedfixed 
5
 
22Q4 
No
0049836: It is possible to add new products in the ticket when the complete ticket action is in progress
If there are receipt delivery option to choose by the user, a popup is shown to select it. In that moment, it is possible to do some actions (like scan) to add products.
- Create a ticket
- Try to complete it
- When the popup, which ask to choose the receipt delivery option, scan a product
- check that the product is added and the complete ticket action continue
- go to backend and check that the ticket is partially paid.
No tags attached.
depends on backport 004983722Q3 closed javierRodriguez It is possible to add new products in the ticket when the complete ticket action is in progress 
Issue History
2022-07-19 10:42javierRodriguezNew Issue
2022-07-19 10:42javierRodriguezAssigned To => javierRodriguez
2022-07-19 10:42javierRodriguezTriggers an Emergency Pack => No
2022-07-19 10:42javierRodriguezStatusnew => scheduled
2022-07-20 09:39hgbotNote Added: 0139441
2022-07-20 12:33hgbotResolutionopen => fixed
2022-07-20 12:33hgbotStatusscheduled => closed
2022-07-20 12:33hgbotNote Added: 0139452
2022-07-20 12:33hgbotFixed in Version => 22Q4
2022-07-20 12:33hgbotNote Added: 0139453

Notes
(0139441)
hgbot   
2022-07-20 09:39   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1095 [^]
(0139452)
hgbot   
2022-07-20 12:33   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1095 [^]
(0139453)
hgbot   
2022-07-20 12:33   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 12eefb4fa02b05daf84b97aed1da01fd0afeee60
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-07-2022 10:33:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/12eefb4fa02b05daf84b97aed1da01fd0afeee60 [^]

Fixed ISSUE-49836: Avoid to do add product in complete ticket flow

---
A web-jspack/org.openbravo.pos2/src/model/user-interface/actions/SetCompleteTicketProcess.js
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/__test__/PaymentKeypad.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/CompleteTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/CompleteTicketActionPreparation.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/CompleteTicketActionPreparation.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/UIExtension.js
---