Openbravo Issue Tracking System - POS2
View Issue Details
0056584POS2Fashionpublic2024-09-30 11:352024-10-21 10:45
philippe_mui 
SABARINATH P 
urgentmajoralways
closedfixed 
5
 
 
No
0056584: RM-15149 [SALES] The terminal field is not correct when updated a ticket
On the same store, when updating a sales order from a POS A initially created in a POS B, the terminal number is changed in the webhook. It should remain the same of the original POS where the sale was made because this

https://openbravo.atlassian.net/browse/RM-15149 [^]
1. Log in POS B and make a sale of a product > check the webhook, the terminal in the Json is the one from POS B
2. In the same store, log in POS A using a different terminal and go to orders window to open the sale done in POS B
3. Modify the sales representative and click on "Review Payments" then Finish
4. check the webhook, the terminal in the Json is the one from POS A

Expected result : the terminal in the Json should remain the same as the original sale done in POS B and shouldn't change when the ticket is updated (several scenarios for updating a ticket)

See video : https://drive.google.com/file/d/1DBAydP6uhV591_5FmbhBllWSF9V1TVXv/view?usp=sharing [^]
FASH
related to defect 0056517 closed SABARINATH P When updating order from POS, order date is updated 
Issue History
2024-09-30 11:35philippe_muiNew Issue
2024-09-30 11:35philippe_muiAssigned To => Retail
2024-09-30 11:35philippe_muiTriggers an Emergency Pack => No
2024-09-30 11:36philippe_muiTag Attached: FASH
2024-10-01 12:59guillermogilRelationship addedrelated to 0056517
2024-10-02 09:15guillermogilStatusnew => acknowledged
2024-10-03 10:47SABARINATH PAssigned ToRetail => SABARINATH P
2024-10-03 10:47SABARINATH PStatusacknowledged => scheduled
2024-10-05 07:15hgbotNote Added: 0170020
2024-10-21 10:45hgbotResolutionopen => fixed
2024-10-21 10:45hgbotStatusscheduled => closed
2024-10-21 10:45hgbotNote Added: 0170670
2024-10-21 10:45hgbotFixed in Version => RR25Q1
2024-10-21 10:45hgbotNote Added: 0170671

Notes
(0170020)
hgbot   
2024-10-05 07:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1698 [^]
(0170670)
hgbot   
2024-10-21 10:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1698 [^]
(0170671)
hgbot   
2024-10-21 10:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 6d6201c1e405ccb764bb6ea9f8a0688ea5760e13
Author: Sabarinath <s.palanisamy@external.orisha.com>
Date: 21-10-2024 08:44:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/6d6201c1e405ccb764bb6ea9f8a0688ea5760e13 [^]

Fixed ISSUE-56584: Updated terminal only when the ticket isModified.

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteTicketUtils.js
---