Openbravo Issue Tracking System - POS2
View Issue Details
0055957POS2POSpublic2024-07-09 17:052024-07-12 12:38
Daria_Sh 
Retail 
normalminoralways
newopen 
5
main 
 
No
0055957: [24q3] Manager role cannot approve cashier role action on 'Extra Validity Date Approval' pop-up when coupon code was scanned
If extra validity dates are configured for a Coupon, and the manager role is set to use and approve the 'Allow Extra Validity Days for Coupons' action for the cashier role, it is still not possible to approve the action if Coupon was scanned.
The same behavior arises with gift cards, gift certificates, and credit notes when applied using a scanner

Configure manager and cashier roles access in the 'Role' window of Backoffice
Cashier Role:
1. Open 'VallBlancaUser' role
2. Go to 'User Action Access' tab
3. Add 'Allow Extra Validity Days for Coupons' user action with 'Approval = Approval Required' and 'Confirmation Required' and 'Active' flags selected
Manager Role:
1. Open 'The White Valley Group Admin' role
2. Go to 'User Action Access' tab
3. Add 'Allow Extra Validity Days for Coupons' user action with 'Approval = Can Use and Approve' and 'Confirmation Required' and 'Active' flags selected

Configure Coupon to have extra validity period in 'Discounts and Promotions' window of Backoffice
1. Open 'price_adjust_chrampons_30_eur' discount →'Definition' section
2. Tick 'Uses coupon codes' checkbox
3. Go to 'Coupons' tab
4. Add new record with the following values:
 - Coupon Code = 1234
 - Number of Uses = Infinite
 - Valid From = 8 days before today
 - Valid To = 4 days before today
 - Coupon Extra Validity Days = 6
1. Log in to POS as a cashier
2. Add 3 units of 'Crampons 10 point' product to the Order
3. Push 'Scan' button
4. Scan an expired Coupon code with extra validity date (it will appear in the 'Code' field)
5. Push 'Ok' button
6. Introduce manager credentials into respective fields of the 'Extra Validity Date Approval' pop-up
7. Push 'Approve' button

Actual result: The warning is shown and action is not approved
Expected result: User action is approved and Coupon is applied
No tags attached.
png Screenshot_6.png (126,373) 2024-07-09 17:07
https://issues.openbravo.com/file_download.php?file_id=19986&type=bug
png

png Screenshot_7.png (116,197) 2024-07-09 17:07
https://issues.openbravo.com/file_download.php?file_id=19987&type=bug
png

png Screenshot_8.png (108,630) 2024-07-09 17:07
https://issues.openbravo.com/file_download.php?file_id=19988&type=bug
png

png Screenshot_15.png (111,291) 2024-07-10 15:29
https://issues.openbravo.com/file_download.php?file_id=19995&type=bug
png
Issue History
2024-07-09 17:05Daria_ShNew Issue
2024-07-09 17:05Daria_ShAssigned To => Retail
2024-07-09 17:05Daria_ShTriggers an Emergency Pack => No
2024-07-09 17:05Daria_ShSummaryAn error is shown when clicking the 'Approve' button on the 'Extra Validity Date Approval' pop-up => [24q3] An error is shown when clicking the 'Approve' button on the 'Extra Validity Date Approval' pop-up
2024-07-09 17:07Daria_ShFile Added: Screenshot_5.png
2024-07-09 17:07Daria_ShFile Added: Screenshot_6.png
2024-07-09 17:07Daria_ShFile Added: Screenshot_7.png
2024-07-09 17:07Daria_ShFile Added: Screenshot_8.png
2024-07-10 09:39Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=28204#r28204
2024-07-10 10:10Daria_Shversion => main
2024-07-10 15:29Daria_ShFile Deleted: Screenshot_5.png
2024-07-10 15:29Daria_ShFile Added: Screenshot_15.png
2024-07-10 15:44Daria_ShSummary[24q3] An error is shown when clicking the 'Approve' button on the 'Extra Validity Date Approval' pop-up => [24q3] Manager role cannot approve cashier role action on 'Extra Validity Date Approval' pop-up when coupon code was scanned
2024-07-10 15:44Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=28216#r28216
2024-07-10 15:44Daria_ShSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28218#r28218
2024-07-12 12:38Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=28226#r28226

There are no notes attached to this issue.