Openbravo Issue Tracking System - POS2 | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0055835 | POS2 | POS | public | 2024-06-25 13:24 | 2024-06-25 13:29 | |||||||
Reporter | asier_perez | |||||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0055835: It should not be allowed to pay a ticket with a duplicated documentNo | |||||||||||
Description | There are some scenarios in which the orderid and/or the documentNo are duplicated from the previous ticket. In case of a duplicated orderid, there is a mechanism that detects when it is duplicated and forces the creation of a new orderid for the current ticket. However, this does not happen with the documentNo. | |||||||||||
Steps To Reproduce | 1) Log in to POS2 2) Go to Orders and copy the "Order No" value of any order in the list 3) Open the console from developer tools 4) In the console, type this but replacing OrderNo with the "Order No" copied in step 2: OB.App.State.getState().Ticket.documentNo = 'OrderNo' 5) Once the "Order No" of an existing order is assigned to the current order, go to Sell, add any product to the ticket, and pay for it 6) Go to Orders again => the "Order No" of the most recent order is the one you have assigned, which should not be allowed because it is duplicated | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | duplicatedOrderNo.png (34,415) 2024-06-25 13:24 https://issues.openbravo.com/file_download.php?file_id=19939&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2024-06-25 13:24 | asier_perez | New Issue | ||||||||||
2024-06-25 13:24 | asier_perez | Assigned To | => Retail | |||||||||
2024-06-25 13:24 | asier_perez | File Added: duplicatedOrderNo.png | ||||||||||
2024-06-25 13:24 | asier_perez | Triggers an Emergency Pack | => No | |||||||||
2024-06-25 13:24 | asier_perez | Relationship added | related to 0051445 | |||||||||
2024-06-25 13:29 | asier_perez | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=28145#r28145 |
There are no notes attached to this issue. |