Openbravo Issue Tracking System - POS2
View Issue Details
0056098POS2POSpublic2024-07-23 13:492024-09-10 15:59
sofia_rodriguez 
SABARINATH P 
highmajoralways
scheduledopen 
5
 
 
No
0056098: Error when refund a Credit note with a role requiring approval
Whenever a user with a role requering approval tries to refund a credit note, an error message is diplayed blocking the refund.

Error message: Cannot read properties of undefined (reading 'eventApproval')
Pre requisits:
- A user with User action access "Create Cash Management Credit Note Refund" active
- A user with User action access "CashManagementNewMovement" = Approval required or Approval required and can Approve
- A credit note already created for a client
- Cash enough to refund the complete credit note

Steps to reproduce:
1. Connect to POS with a user having a role with approval required
2. Go to the window "Search Gift Cards / Credit Notes / Gift Certificates"
3. Select a customer with a credit note and click on it (or type directly the credit note number)
4. CLick on refund button
5. Enter a user to give the approval
No tags attached.
Issue History
2024-07-23 13:49sofia_rodriguezNew Issue
2024-07-23 13:49sofia_rodriguezAssigned To => Retail
2024-07-23 13:49sofia_rodriguezTriggers an Emergency Pack => No
2024-07-24 08:27aaroncaleroNote Added: 0167307
2024-07-24 08:27aaroncaleroAssigned ToRetail => sofia_rodriguez
2024-07-24 08:27aaroncaleroStatusnew => feedback
2024-07-24 14:22sofia_rodriguezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28287#r28287
2024-07-24 14:23sofia_rodriguezAssigned Tosofia_rodriguez => aaroncalero
2024-08-28 08:28aaroncaleroAssigned Toaaroncalero => Retail
2024-08-28 08:28aaroncaleroStatusfeedback => new
2024-08-28 08:28aaroncaleroStatusnew => acknowledged
2024-08-28 11:23sofia_rodriguezNote Added: 0168508
2024-09-09 15:05SABARINATH PAssigned ToRetail => SABARINATH P
2024-09-09 15:06SABARINATH PStatusacknowledged => scheduled
2024-09-10 15:59hgbotNote Added: 0169045

Notes
(0167307)
aaroncalero   
2024-07-24 08:27   
With the given steps the issue doesn't seem to be reproducible in livebuilds pos2-modules instance.
Can you add more details to help us reproduce the issue?
(0168508)
sofia_rodriguez   
2024-08-28 11:23   
Find below the link to a video where all the configurations and steps are shown.

https://drive.google.com/file/d/1UdhdkJmu1oMhbpNu4m45fPJJBDc5F3H0/view?usp=sharing [^]
(0169045)
hgbot   
2024-09-10 15:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2913 [^]