Openbravo Issue Tracking System - POS2
View Issue Details
0057327POS2POSpublic2024-11-29 09:462025-02-08 07:07
jmassy 
Bimla_vm 
normalminorhave not tried
closedfixed 
5
 
25Q2 
approved
No
No
0057327: In the Approval pop-up the following text is not present : 'A supervisor needs to approve this action'
In the Approval pop-up the following text is not present : 'A supervisor needs to approve this action'
Configuration needed:

In Openbravo backoffice:
The POS user has a seller role with the required user action access 'Apply Discretionary and Optional Discount' configured with 'Approval' = 'Approval required'
The manager user has a responsible role with the required user action access 'Apply Discretionary and Optional Discount' configured with 'Approval' = 'Can use and approve'
Define a promotion with :
Type = a promotion type that applies to the lines of the ticket
Starting date in the past
In 'Definition section, 'Approval Required' = Yes
In 'POS Configuration' section, 'Application Method' = 'Discretionary'
Active

Log into WebPOS on a touchpoint targeted by the promotion with a user that has role seller

Step to reproduce:
Add a product targeted by the promotion to the ticket

Click on the product line, select ‘Discount’ option, select the promotion and click on 'Apply'

Expected result :
An approval pop up is opened requesting the interference of the supervisor to approve the operation with:
a title 'Approval Required'
a text 'A supervisor needs to approve this action'
a section 'Manager Authentication':
a field 'User' empty (unless if saved by the browser)
a field 'Password' empty (unless if saved by the browser)
a button 'CANCEL'
a button 'APPROVE' grayed out

but the text 'A supervisor needs to approve this action' is not present

Ouvrir image-2024-11-29-09-43-24-133.png
No tags attached.
png image-2024-11-29-09-43-24-133.png (53,231) 2024-11-29 09:46
https://issues.openbravo.com/file_download.php?file_id=20581&type=bug
png
Issue History
2024-11-29 09:46jmassyNew Issue
2024-11-29 09:46jmassyAssigned To => Retail
2024-11-29 09:46jmassyFile Added: image-2024-11-29-09-43-24-133.png
2024-11-29 09:46jmassyTriggers an Emergency Pack => No
2024-11-29 09:46jmassyNote Added: 0172753
2025-01-20 08:31Bimla_vmAssigned ToRetail => Bimla_vm
2025-01-20 08:31Bimla_vmStatusnew => scheduled
2025-01-21 05:55hgbotMerge Request Status => open
2025-01-21 05:55hgbotNote Added: 0174430
2025-02-08 07:07hgbotMerge Request Statusopen => approved
2025-02-08 07:07hgbotResolutionopen => fixed
2025-02-08 07:07hgbotStatusscheduled => closed
2025-02-08 07:07hgbotFixed in Version => 25Q2
2025-02-08 07:07hgbotNote Added: 0175318
2025-02-08 07:07hgbotNote Added: 0175319

Notes
(0172753)
jmassy   
2024-11-29 09:46   
Link to the Jira :
https://openbravo.atlassian.net/browse/RM-19518 [^]
(0174430)
hgbot   
2025-01-21 05:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3390 [^]
(0175318)
hgbot   
2025-02-08 07:07   
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: e6cd0295e79b5de367f879dc8f2465ee232f34a6
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 08-02-2025 05:55:59
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/e6cd0295e79b5de367f879dc8f2465ee232f34a6 [^]

Fixed ISSUE-57327: Checking inputs of the useraction to display the summary text

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/TicketLineUserAction.js
---
(0175319)
hgbot   
2025-02-08 07:07   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3390 [^]