Openbravo Issue Tracking System - POS2
View Issue Details
0052277POS2POSpublic2023-04-27 12:072023-04-28 18:30
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q223Q2 
approved
No
No
0052277: 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 => 23Q2
2023-04-28 11:28hgbotMerge Request Status => open
2023-04-28 11:28hgbotNote Added: 0149069
2023-04-28 18:29hgbotMerge Request Statusopen => approved
2023-04-28 18:30hgbotResolutionopen => fixed
2023-04-28 18:30hgbotStatusscheduled => closed
2023-04-28 18:30hgbotFixed in Version => 23Q2
2023-04-28 18:30hgbotNote Added: 0149086
2023-04-28 18:30hgbotNote Added: 0149087

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

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

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

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