Openbravo Issue Tracking System - POS2
View Issue Details
0056280POS2Corepublic2024-08-20 14:452024-08-27 15:59
ucarrion 
SABARINATH P 
highmajoralways
closedfixed 
5
 
24Q4 
guilleaer
No
0056280: DeleteTicket approval related to the previous transaction
The DeleteTicket approval recorded in Sales Order > Approval History is the one related to the previous sale, and not the one related to the selected one.
-Precondition: the DeleteTicket user action (and user action access per role) must be defined in the backoffice.

-Login the POS.
-Add a line into a new empty ticket.
-Delete the ticket.
-Complete the approval.
-Go to the bakcoffice, Sales Order window, and check the Approval History subtab. There is nothing related to the user action.
-Go back to the POS.
-Add a line into a new empty ticket.
-Delete the ticket.
-Complete the approval.
-Go to the bakcoffice, Sales Order window, and check the Approval History subtab. There is a record but the approval is referring to the previous sale approval.
-Go back to the POS.
-Add a line into a new empty ticket.
-Delete the ticket.
-Complete the approval.
-Go to the bakcoffice, Sales Order window, and check the Approval History subtab. There is a record but the approval is referring to the previous sale approval.
No tags attached.
related to defect 0056077 closed Rajesh_18 DeleteTicket user action is not recorded into the backoffice 
related to defect 0056185 closed ranjith_qualiantech_com DeleteTicket user action is not recorded into the backoffice in offline mode 
Issue History
2024-08-20 14:45ucarrionNew Issue
2024-08-20 14:45ucarrionAssigned To => Retail
2024-08-20 14:45ucarrionTriggers an Emergency Pack => No
2024-08-20 14:47ucarrionRelationship addedrelated to 0056077
2024-08-20 14:47ucarrionRelationship addedrelated to 0056185
2024-08-20 16:07martinsdanIssue Monitored: martinsdan
2024-08-21 08:43guilleaerStatusnew => acknowledged
2024-08-21 08:44SABARINATH PAssigned ToRetail => SABARINATH P
2024-08-21 08:44SABARINATH PStatusacknowledged => scheduled
2024-08-27 15:58hgbotResolutionopen => fixed
2024-08-27 15:58hgbotStatusscheduled => resolved
2024-08-27 15:58hgbotFixed in Version => 24Q4
2024-08-27 15:58hgbotNote Added: 0168492
2024-08-27 15:59guilleaerReview Assigned To => guilleaer
2024-08-27 15:59guilleaerStatusresolved => closed

Notes
(0168492)
hgbot   
2024-08-27 15:58   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f5bf75c883907423420f641686d51b8f8bb22e58
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 27-08-2024 13:58:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f5bf75c883907423420f641686d51b8f8bb22e58 [^]

fixed ISSUE-56185, fixed ISSUE-56280: InputandApprovals should be updated before DeleteTicket StateAction

---
A web-jspack/org.openbravo.pos2/src/model/ticket/actions/DeleteTicketActionPreparation.js
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
---