Openbravo Issue Tracking System - POS2
View Issue Details
0057956POS2POSpublic2025-01-29 15:382025-02-16 09:18
jfvaringot 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
24Q4.224Q4.1 
approved
OBPS
Packaging and release
2024-11-18
main
https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/f83f2bd4a99014cfe9b4f8703c046f5d77817d1e [^]
No
0057956: POS2 - Return reason could not be added for unverified returns
When doing a unverified return, I can add an item without adding a return reason, while it's noticed as a mandatory data.

Reproduced on 24Q4 and 25Q1.
On POS 2 :
1. Convert an order to return
2. Add an item
3. The reason is asked, with a * symbol
4. Click on 'Cancel'

-> The item is all the same added, and the return can be done without a reason.


WARNING :
If you add items to the ticket THEN convert to order, the reason is asked. If you click on 'Cancel', the ticket is NOT convert to return.
When the return reason pop over is cancelled, the item should not be added to the return.
No tags attached.
blocks defect 0057794 closed ranjith_qualiantech_com POS2 - Return reason could not be added for unverified returns 
Issue History
2025-02-12 07:57ranjith_qualiantech_comTypedefect => backport
2025-02-12 07:57ranjith_qualiantech_comTarget Version => 24Q4.2
2025-02-15 18:27hgbotNote Added: 0175698
2025-02-16 09:10hgbotNote Added: 0175715
2025-02-16 09:17hgbotMerge Request Statusopen => approved
2025-02-16 09:18hgbotResolutionopen => fixed
2025-02-16 09:18hgbotStatusscheduled => closed
2025-02-16 09:18hgbotFixed in Version => 24Q4.1
2025-02-16 09:18hgbotNote Added: 0175717
2025-02-16 09:18hgbotNote Added: 0175718
2025-02-16 09:18hgbotNote Added: 0175719
2025-02-16 09:18hgbotNote Added: 0175720

Notes
(0175698)
hgbot   
2025-02-15 18:27   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3506 [^]
(0175715)
hgbot   
2025-02-16 09:10   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1771 [^]
(0175717)
hgbot   
2025-02-16 09:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 75fcbe81ac99091234a1a8f35fda10548a04e67a
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 15-02-2025 22:36:06
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/75fcbe81ac99091234a1a8f35fda10548a04e67a [^]

Fixed ISSUE-57956: Validate UserInput when adding line in Blind Return
* Refactored UserInput validation with addProduct actionPreparation instead of
  UserAction AddProduct's PostHook

---
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductHooks.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddProduct.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddProductHooks.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/ReturnBlindTicket.js
---
(0175718)
hgbot   
2025-02-16 09:18   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3506 [^]
(0175719)
hgbot   
2025-02-16 09:18   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: e67adc12f83b27ad85dd6d38ba82b18cef4af973
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 16-02-2025 13:28:33
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/commit/e67adc12f83b27ad85dd6d38ba82b18cef4af973 [^]

Related to ISSUE-57956: Added payload for approvalSummaryContent in UserAction

---
M web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js
---
(0175720)
hgbot   
2025-02-16 09:18   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1771 [^]