Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051410Retail ModulesWeb POSpublic2023-01-19 07:542023-02-09 08:40
a_singh 
radhakrishnan 
normalmajoralways
closedno change required 
5
 
 
marvintm
No
0051410: Unable to complete approval request in offline mode
1.In a fresh terminal i.e no single approval transaction for the day, when trying to approve any request in offline mode then its not allowing and showing error message invalid user and password.
2. Then again coming back to online and doing a successfull approval with same user and password.
3. Again switching back to offline mode and trying to do approval with same user and password and got it approved successfully.

Please note before the first step, while online, the master data refresh has been done successfully.

The exepcted behavior in the first step itself the approval request to delete line must execute successfully.

The current behavior in the first step,the approval request to delete line is failing.
Able to reproduce the same in livebuilds with following steps:
1. Go the the backoffice with Openbravo/openbravo for the
   client The While Valley Group
2. Create the following records for the preference Web POS Delete Line Approval
   2.a) Value: N
        Client: The White Valley Group
   2.b) Value: Y
        Client: The White Valley Group
        User: Created a user valled vbs-manager with password: openbravo
              for the role The White Valley Group Admin
3. Log in the terminal VBS-1 with user vallblanca and password: openbravo
4. Go to the menu option and click on the Refresh data button
5. Execute Ctrl+Shift+I then go to the Newtwork tab and select offline
6. Go to the cart and add two products in the receipt
7. In the receipt,select any of the product and click on the Delete Line button
8. Approval pop will appear without any supervior icon and input the
   user: vbs-manager with openbravo.
9. It throws an error message: invalid user and password.
10. Again execute Ctrl+Shift+I then go to the Newtwork tab and select online
11. In the receipt,select any of the product and click on the Delete Line button
12. Approval pop will appear without any supervior icon and input the
    user: vbs-manager with openbravo which results in the successfull
    approval i.e selected line got deleted.
13. Again add a product to the receipt and execute Ctrl+Shift+I then
    go to the Newtwork tab and select offline.
14. In the receipt,select any of the product and click on the Delete Line button
15. Approval pop will appear without any supervior icon and input the
    user: vbs-manager with openbravo which results in the successfull
    approval i.e selected line got deleted.

The exepcted behavior in the above step 8 itself the approval request to delete line must execute successfully.

The current behavior in the above step 8, the approval request to delete line is failing.
No tags attached.
Issue History
2023-01-19 07:54a_singhNew Issue
2023-01-19 07:54a_singhAssigned To => Retail
2023-01-19 07:54a_singhTriggers an Emergency Pack => No
2023-02-06 06:21radhakrishnanAssigned ToRetail => radhakrishnan
2023-02-06 06:23radhakrishnanStatusnew => scheduled
2023-02-09 08:40marvintmReview Assigned To => marvintm
2023-02-09 08:40marvintmNote Added: 0146297
2023-02-09 08:40marvintmStatusscheduled => closed
2023-02-09 08:40marvintmResolutionopen => no change required

Notes
(0146297)
marvintm   
2023-02-09 08:40   
Approval functionality works within the same constraints as offline login. In order for a user to approve an action in offline mode, this user must have previously had to approve another action in online mode.