Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057708
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2025-01-21 12:312025-02-19 08:22
Reporterfermin_ostivarView Statuspublic 
Assigned Tosreehari 
PrioritynormalResolutionfixedFixed in Version25Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057708: The User Input set on the "Refund Gift Card" user action not saving lines

DescriptionWhen the User Input for Refund Gift Card is set, the information set on the front end is not saved at line level.
Steps To Reproduce[BOS]
Configure Refund giftcar user action:
Steps:
* User Roles -> VallBlancaCashier -> User Action -> Add
    User Action: Refund Gift Card, Approval: Can use, Input Requests Type: Defined Action Inputs
* User Action Input -> Add -> User Action: Refund Gift Card , User Input : Return Line Reason
  
[POS]
Open "Gift Cards / Credit Notes / Gift Certificates"
Search Gift Card code previously sold
Click on View
Click Refund
Select return reason
Pay the ticket

The information related to the line is not saved on the backoffice
Proposed SolutionAdd to the user input info the line related to the giftcard refund
TagsNo tags attached.
Attached Filespng file icon UserInputRefundGiftCard.png [^] (114,681 bytes) 2025-01-21 12:37

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005802625Q1 closedsreehari The User Input set on the "Refund Gift Card" user action not saving lines 
depends on backport 005802724Q4.2 closedsreehari The User Input set on the "Refund Gift Card" user action not saving lines 

-  Notes
(0174691)
hgbot (developer)
2025-01-24 17:21

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1736 [^]
(0174692)
hgbot (developer)
2025-01-24 17:21

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/420 [^]
(0175757)
hgbot (developer)
2025-02-17 10:34

Merge request closed: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1736 [^]
(0175848)
hgbot (developer)
2025-02-19 08:12

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/420 [^]
(0175849)
hgbot (developer)
2025-02-19 08:12

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: c9c758af875a0655620319d7dec8f1615bbf28db
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 17-02-2025 09:34:33
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/c9c758af875a0655620319d7dec8f1615bbf28db [^]

Fixes ISSUE-57708: Updated inputsAndApprovals with obpos2OrderLine
*added conditional mapping (jest test fix)

---
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/RefundGiftCard.js
---
(0175850)
marvintm (manager)
2025-02-19 08:13

Checked that:
- When user input is defined, before fix input information (and approval record) were not saved at line level
- After the fix, both approval and input info are saved also at line level
- If no input is defined but approval is required, after the fix also the approval info is saved at line level

- Issue History
Date Modified Username Field Change
2025-01-21 12:31 fermin_ostivar New Issue
2025-01-21 12:31 fermin_ostivar Assigned To => Retail
2025-01-21 12:31 fermin_ostivar Triggers an Emergency Pack => No
2025-01-21 12:33 fermin_ostivar File Added: RefundUserAction.png
2025-01-21 12:36 fermin_ostivar File Deleted: RefundUserAction.png
2025-01-21 12:37 fermin_ostivar File Added: UserInputRefundGiftCard.png
2025-01-22 07:15 sreehari Assigned To Retail => sreehari
2025-01-22 07:15 sreehari Status new => scheduled
2025-01-24 17:21 hgbot Note Added: 0174691
2025-01-24 17:21 hgbot Note Added: 0174692
2025-02-17 10:34 hgbot Note Added: 0175757
2025-02-19 08:12 hgbot Note Added: 0175848
2025-02-19 08:12 hgbot Resolution open => fixed
2025-02-19 08:12 hgbot Status scheduled => closed
2025-02-19 08:12 hgbot Note Added: 0175849
2025-02-19 08:13 marvintm Note Added: 0175850
2025-02-19 08:22 marvintm Status closed => new
2025-02-19 08:22 marvintm Resolution fixed => open
2025-02-19 08:22 marvintm Status new => scheduled
2025-02-19 08:22 marvintm Status scheduled => resolved
2025-02-19 08:22 marvintm Fixed in Version => 25Q2
2025-02-19 08:22 marvintm Resolution open => fixed
2025-02-19 08:22 marvintm Review Assigned To => marvintm
2025-02-19 08:22 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker