Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053425Retail ModulesWeb POSpublic2023-09-11 08:462023-12-28 10:33
0053425: POS draft tickets should be validated in backoffice when completing/deleting the ticket
In issue 51445, added mechanism to check the current ticket is present in backoffice when loading/refreshing POS. (And also loading ticket using loadLocalTicket action)
It should be enhanced for the following case.
If pos has draft tickets in State TicketList, then when completing/deleting state ticket, next draft ticket from State TicketList should be checked in backoffice.

Check Description or Issue 51445
When completing/deleting the ticket, add the actionPreparation for the respective action.
In the actionPreparation, "all" draft tickets should checked in backoffice. If the draft tickets present in backoffice, then those should be removed from State TicketList.
And above logic has to be added in "loadLocalTicket" action also (Currently, "loadLocalTicket" action is validating only the current draft ticket.)

No tags attached.
related to feature request 0051445 closed javierRodriguez POS2 Create a mechanism to detect that POS is working with a duplicated ticket id 
related to defect 0052864 closed ranjith_qualiantech_com POS2 Cashup should be retrieved from backend if POS is working with a duplicated ticket ID 
related to defect 0052378 closed javierRodriguez POS2 'Order is not found' error message appears when switching between two existing orders 
depends on backport 0053474RR23Q3.1 closed ranjith_qualiantech_com Retail Modules POS draft tickets should be validated in backoffice when completing/deleting the ticket 
depends on backport 0053475RR23Q2.4 closed ranjith_qualiantech_com Retail Modules POS draft tickets should be validated in backoffice when completing/deleting the ticket 
related to defect 0053473 closed ranjith_qualiantech_com POS2 Cashup properties was missed in the mitigation process (Validating draft ticket in backoffice) 
Issue History
2023-09-11 08:46ranjith_qualiantech_comNew Issue
2023-09-11 08:46ranjith_qualiantech_comAssigned To => Retail
2023-09-11 08:46ranjith_qualiantech_comTriggers an Emergency Pack => No
2023-09-11 09:00ranjith_qualiantech_comRelationship addedrelated to 0051445
2023-09-11 09:19ranjith_qualiantech_comRelationship addedrelated to 0052864
2023-09-11 09:30PracticsIssue Monitored: Practics
2023-09-15 07:43ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-09-15 08:22ranjith_qualiantech_comStatusnew => scheduled
2023-09-18 06:03hgbotNote Added: 0154914
2023-09-18 14:00hgbotResolutionopen => fixed
2023-09-18 14:00hgbotStatusscheduled => closed
2023-09-18 14:00hgbotFixed in Version => RR23Q4
2023-09-18 14:00hgbotNote Added: 0154956
2023-09-18 14:00hgbotNote Added: 0154957
2023-09-18 14:16ranjith_qualiantech_comRelationship addedrelated to 0053473
2023-09-18 14:20marvintmStatusclosed => new
2023-09-18 14:20marvintmResolutionfixed => open
2023-09-18 14:20marvintmFixed in VersionRR23Q4 =>
2023-09-18 14:20marvintmStatusnew => scheduled
2023-09-18 14:20marvintmStatusscheduled => resolved
2023-09-18 14:20marvintmFixed in Version => RR23Q4
2023-09-18 14:20marvintmResolutionopen => fixed
2023-09-18 14:20marvintmReview Assigned To => marvintm
2023-09-18 14:20marvintmStatusresolved => closed
2023-12-28 10:33ranjith_qualiantech_comRelationship addedrelated to 0052378

2023-09-18 06:03   
Merge Request created: [^]
2023-09-18 14:00   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: c3c2dc8dcfa76f0634cb90a5fb66283abf5b55d4
Author: Ranjith S R <>
Date: 18-09-2023 11:59:53
URL: [^]

Fixed ISSUE-53425: Added validation for state TicketList present in backoffice
* When completing/deleting ticket, next draft ticket from TicketList
  should be checked in backoffice

A web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actionpreparations/ValidateTicketList.js
M src/org/openbravo/retail/posterminal/
M src/org/openbravo/retail/posterminal/utility/
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadLocalTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/LoadTicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CancelTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CompleteCreditTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CompleteLayaway.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CompleteTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteTicket.js
2023-09-18 14:00   
Merge request merged: [^]