Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052039Retail ModulesWeb POSpublic2023-04-03 13:062023-04-26 17:04
niketanrai 
radhakrishnan 
highmajoralways
closedfixed 
5
 
RR23Q3 
approved
No
No
0052039: Issue during approval when "Web POS set Price approval" preference is defined
When preference "Web POS set Price approval" is set, while changing the price of the product in receipt a pop-up is opening for approval. If logged user don't have approval access then popup is closing without any error message.
1. Define 2 preference "Web POS set Price approval" in BO. For role "VallBlancaUser" define value as "N" and for "The White Valley Group Admin" define value as "Y".
2. Add a product in receipt and try changing the price.
3. Pop-up will open with user icon who have approval privilege.
4. Approve with user 'vallblanca' for which preference is defined as "N" in "step 1".
5. Pop-up will close without any error as logged in user in step 4 don't have access for approval as per preference configuration.
The system should throw an error as "User 'vallblanca' does not have privileges to approve this action."
No tags attached.
Issue History
2023-04-03 13:06niketanraiNew Issue
2023-04-03 13:06niketanraiAssigned To => Retail
2023-04-03 13:06niketanraiTriggers an Emergency Pack => No
2023-04-03 13:11ranjith_qualiantech_comOBNetwork customer => No
2023-04-03 13:11ranjith_qualiantech_comPrioritynormal => high
2023-04-03 13:11ranjith_qualiantech_comDescription Updatedbug_revision_view_page.php?rev_id=25822#r25822
2023-04-03 13:11ranjith_qualiantech_comSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25824#r25824
2023-04-04 06:34radhakrishnanAssigned ToRetail => radhakrishnan
2023-04-04 06:34radhakrishnanStatusnew => scheduled
2023-04-06 12:45hgbotMerge Request Status => open
2023-04-06 12:45hgbotNote Added: 0148323
2023-04-26 17:04hgbotMerge Request Statusopen => approved
2023-04-26 17:04hgbotResolutionopen => fixed
2023-04-26 17:04hgbotStatusscheduled => closed
2023-04-26 17:04hgbotFixed in Version => RR23Q3
2023-04-26 17:04hgbotNote Added: 0148961
2023-04-26 17:04hgbotNote Added: 0148962

Notes
(0148323)
hgbot   
2023-04-06 12:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1128 [^]
(0148961)
hgbot   
2023-04-26 17:04   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e54b8d6dbd14ea1b8f6eff034e1c8dcb5bda14e2
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 26-04-2023 15:04:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e54b8d6dbd14ea1b8f6eff034e1c8dcb5bda14e2 [^]

Fixed ISSUE-52039: Approval popup should stop the execution
* If user doesn't have the previllages, then the popup flow should not
  complete and it should show error message

---
M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js
---
(0148962)
hgbot   
2023-04-26 17:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1128 [^]