Openbravo Issue Tracking System - POS2
View Issue Details
0057263POS2POSpublic2024-11-22 15:522024-12-09 19:16
charlotte_vasseur 
sreehari 
normalminoralways
closedfixed 
5
 
25Q1 
Pre packaging ( pi )
2024-11-22
24Q2
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2302/diffs#8f3b4b0ee05a6f5e649463dfc04e91edf8774771_51_55 [^]
No
0057263: [SALES] 'Pay' button instead of 'Refund' on Cancel Order since 24Q2
From 24Q2, 'Pay' button is displayed instead of 'Refund' when doing a Cancel Order
In POS on 24Q1 (tested on https://livebuilds.openbravo.com/context/pos2_mp_24Q1.2/web/pos/?terminal=VBS-2 [^])
Finalize a sale not delivered (delivery mode= 'Pick up in store' or 'Home Delivery')
Go to Orders menu
On the previous sale, click on the '3 dots' button and select 'Cancel Order'
On the cancel local draft ticket, the button 'Refund' is displayed (OK - see Refund on Cancel Order OK.png)

From 24Q2 (test on https://livebuilds.openbravo.com/context/pos2_mp_24Q2.4/web/pos/?terminal=VBS-2 [^]) and on actual Livebuilds
Do the same test
=> On the cancel local draft ticket, 'Pay' is displayed instead of 'Refund' (see Pay on Cancel Order KO.png)
No tags attached.
depends on backport 005729424Q4.1 closed sreehari [SALES] 'Pay' button instead of 'Refund' on Cancel Order since 24Q2 
depends on backport 005729524Q3.3 closed sreehari [SALES] 'Pay' button instead of 'Refund' on Cancel Order since 24Q2 
depends on backport 005729624Q2.5 closed sreehari [SALES] 'Pay' button instead of 'Refund' on Cancel Order since 24Q2 
caused by defect 0054164 closed Rajesh_18 [Cancel and Replace] No label is shown in POS2 
png Refund on Cancel Order OK.png (108,491) 2024-11-22 15:53
https://issues.openbravo.com/file_download.php?file_id=20554&type=bug
png

png Pay on Cancel Order KO.png (125,244) 2024-11-22 15:53
https://issues.openbravo.com/file_download.php?file_id=20555&type=bug
png
Issue History
2024-11-22 15:52charlotte_vasseurNew Issue
2024-11-22 15:52charlotte_vasseurAssigned To => Retail
2024-11-22 15:53charlotte_vasseurFile Added: Refund on Cancel Order OK.png
2024-11-22 15:53charlotte_vasseurRegression level => QA functional test
2024-11-22 15:53charlotte_vasseurRegression introduced in release => 24Q2
2024-11-22 15:53charlotte_vasseurTriggers an Emergency Pack => No
2024-11-22 15:53charlotte_vasseurFile Added: Pay on Cancel Order KO.png
2024-11-26 10:19guilleaerAssigned ToRetail => guilleaer
2024-11-26 10:19guilleaerStatusnew => acknowledged
2024-11-26 10:19sreehariAssigned Toguilleaer => sreehari
2024-11-26 12:26sreehariStatusacknowledged => scheduled
2024-11-26 18:12guilleaerStatusscheduled => acknowledged
2024-11-26 18:12guilleaerStatusacknowledged => scheduled
2024-11-27 10:45sreehariRegression levelQA functional test => Pre packaging ( pi )
2024-11-27 10:45sreehariRegression date => 2024-11-22
2024-11-27 10:45sreehariRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2302/diffs#8f3b4b0ee05a6f5e649463dfc04e91edf8774771_51_55 [^]
2024-11-27 10:46sreehariRelationship addedcaused by 0054164
2024-12-02 07:30hgbotNote Added: 0172853
2024-12-02 07:31hgbotNote Added: 0172854
2024-12-09 19:16hgbotNote Added: 0173085
2024-12-09 19:16hgbotResolutionopen => fixed
2024-12-09 19:16hgbotStatusscheduled => closed
2024-12-09 19:16hgbotFixed in Version => 25Q1
2024-12-09 19:16hgbotNote Added: 0173086
2024-12-09 19:16hgbotNote Added: 0173087
2024-12-09 19:16hgbotNote Added: 0173088

Notes
(0172853)
hgbot   
2024-12-02 07:30   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3187 [^]
(0172854)
hgbot   
2024-12-02 07:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1817 [^]
(0173085)
hgbot   
2024-12-09 19:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3187 [^]
(0173086)
hgbot   
2024-12-09 19:16   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 84480d53aff96883066e9b6f7fc186442d8eb99f
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 09-12-2024 18:15:01
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/84480d53aff96883066e9b6f7fc186442d8eb99f [^]

Fixes ISSUE-57263: Added 'draftCancelOrder' Layout config to buttonBar2

---
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0173087)
hgbot   
2024-12-09 19:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1817 [^]
(0173088)
hgbot   
2024-12-09 19:16   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 71d6442be09e6e1e6e308989379bf4c5007d48c7
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 09-12-2024 18:15:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/71d6442be09e6e1e6e308989379bf4c5007d48c7 [^]

Related ISSUE-57263: Fixed divide by 0 Error during cancel order delete action

---
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/CashupUtils.js
---