Openbravo Issue Tracking System - POS2
View Issue Details
0052278POS2POSpublic2023-04-27 12:072023-04-28 18:29
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q1.223Q1.2 
No
0052278: The prepayment manager approval doesn't work in a specific case
The manager approval doesn't work well when the cashier wish modify the prepayment amount by something smaller than the prefilled amount.

Actually the manager can not approve even though he has rights to do it.
1- Go to BO.
2- Configure your user role with that value(see screenshot1).
3- Use this configuration on BO in organization window of your store(see screenshot2).
4- Go to POS2.
5- Open a new ticket for catering.
6- Select pick in store as delivery mode.
7- Select a customer.
8- Select a catering product.
9- Switch to payment mode.
10- Edit the prepayment amount.
11- Set an amount smaller than the prefilled amount.
12- Click OK, the Approval Required popin appears.

KO when you try to approve, there is this message.
No tags attached.
blocks defect 0052276 closed meriem_azaf The prepayment manager approval doesn't work in a specific case 
Issue History
2023-04-27 12:08meriem_azafTypedefect => backport
2023-04-27 12:08meriem_azafTarget Version => 23Q1.2
2023-04-28 11:10hgbotNote Added: 0149067
2023-04-28 18:29hgbotResolutionopen => fixed
2023-04-28 18:29hgbotStatusscheduled => closed
2023-04-28 18:29hgbotFixed in Version => 23Q1.2
2023-04-28 18:29hgbotNote Added: 0149084
2023-04-28 18:29hgbotNote Added: 0149085

Notes
(0149067)
hgbot   
2023-04-28 11:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1741 [^]
(0149084)
hgbot   
2023-04-28 18:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: fee5dec468599927006a0bc35f35d4d88d72ef93
Author: meriem azaf <meriem.azaf@openbravo.com>
Date: 28-04-2023 16:29:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fee5dec468599927006a0bc35f35d4d88d72ef93 [^]

Fixes ISSUE-52278: The prepayment manager approval doesn't work in a specific case

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/EditPrepaymentAmount.js
---
(0149085)
hgbot   
2023-04-28 18:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1741 [^]