Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052754Retail ModulesWeb POSpublic2023-06-15 14:382023-07-04 07:51
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR23Q4 
No
0052754: Order goes to Errors While Importing POS Data if the user tries to Cancel and Replace it twice
Order goes to Errors While Importing POS Data if the user tries to Cancel and Replace it twice

It is not possible to modify the cancelled order
In the POS:

Add a product and pay it
Open Receipt
Select previously created order
Cancel and Replace
Click the total button and Done
Open Receipt
Select the previously canceled order
Cancel and Replace
An error is shown: Order already replaced
OK
Click the total button and Done

At this moment, the order goes to Errors While Importing POS Data with the following error:

org.openbravo.base.exception.OBException: It is not possible to modify the cancelled order
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:252)
No tags attached.
related to defect 0051789 closed radhakrishnan Using an external order loader it is possible to pay a canceled order 
Issue History
2023-06-15 14:38ngarciaNew Issue
2023-06-15 14:38ngarciaAssigned To => Retail
2023-06-15 14:38ngarciaTriggers an Emergency Pack => No
2023-06-15 14:38ngarciaRelationship addedrelated to 0051789
2023-06-16 11:29ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-06-16 11:29ranjith_qualiantech_comStatusnew => scheduled
2023-06-22 12:13hgbotNote Added: 0151491
2023-06-22 12:14hgbotNote Added: 0151492
2023-07-04 07:51hgbotNote Added: 0152084
2023-07-04 07:51hgbotNote Added: 0152085
2023-07-04 07:51hgbotResolutionopen => fixed
2023-07-04 07:51hgbotStatusscheduled => closed
2023-07-04 07:51hgbotFixed in Version => RR23Q4
2023-07-04 07:51hgbotNote Added: 0152086
2023-07-04 07:51hgbotNote Added: 0152087

Notes
(0151491)
hgbot   
2023-06-22 12:13   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1911 [^]
(0151492)
hgbot   
2023-06-22 12:14   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1257 [^]
(0152084)
hgbot   
2023-07-04 07:51   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 063c99f971cd77522ebadd28ccc919791f59a76d
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-07-2023 04:28:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/063c99f971cd77522ebadd28ccc919791f59a76d [^]

Related to ISSUE-52754: Done Button should be disabled if ticket is cancelled

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/PaymentKeypad.jsx
---
(0152085)
hgbot   
2023-07-04 07:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1911 [^]
(0152086)
hgbot   
2023-07-04 07:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 192366043481f60088626b42499682aa05605df0
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-07-2023 04:28:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/192366043481f60088626b42499682aa05605df0 [^]

Fixed ISSUE-52754: Payments button should not be visible if ticket is cancelled

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0152087)
hgbot   
2023-07-04 07:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1257 [^]