Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026998Retail ModulesOffline approvalpublic2014-07-02 12:212014-07-28 16:42
sureshbabu 
szapata 
highmajoralways
closedfixed 
5
 
RR14Q2.2 
marvintm
QA functional test
No
0026998: In offline mode, delete line approval & change line price approval process not working as expected
In offline mode, delete line approval & change line price approval process not working as expected
 Adding approvals while deleting Line item in Receipt (Web POS Delete Line Approval)

Pre-condition:
Login to ERP system using below user credentials:
• "Username": Openbravo
• "Password": openbravo
Then change the role to “The White Valley Group Admin” role
Navigate to “Preference” window
Click Ctrl + D to add new record
Then enter the below details
• “Client”: The White Valley Group
• "Organization": Vall Blanca Store
• “Property List”: Checked
• “Property”: Web Pos Delete Line Approval
• “Value”:Y
Then In Visibility section, enter the below details
• “Visible at Client”: The White Valley Group
• "Visible at Organization": Vall Blanca Store
• “Visible at User”: Demo User
Click Ctrl + S to save the changes

Then change the role to “System Administrator” role
Navigate to “Preference” window
Verify record is present for property “Web POS Delete Line Item Approval”
If the record is found, set the value of field to
• “Value”:N
If the record is not found, then click Ctrl + D to add new record
Then enter the below details
• “Client”: System
• "Organization": *
• “Property List”: Checked
• “Property”: Web Pos Delete Line Approval
• “Value”:N
Then In Visibility section, enter the below details
• “Visible at Client”: <Blank>
• "Visible at Organization": <Blank>
• “Visible at User”: <Blank>


Steps:

 Login to POS terminal, go to the login URL: http://{server}/{context}/web/org.openbravo.retail.posterminal/?Test1 [^]
Enter login credentials:
• "Username": demouser
• "Password": openbravo
The POS window will appear.
Logout and then re-login using below credentials
• "Username": vallblanca
• "Password": openbravo
The POS window will appear.
Then change the web pos to off line mode
Add product
• Product: Alpine skiing backpack 27 L; Quantity: 1 no
• Product: Adhesive Body warmers; Quantity: 1 no
And verify the below details
• Product: Alpine skiing backpack 27 L
• Qty: 1
• Price: 109.90
• Product: Adhesive body warmers
• Qty: 1
• Price: 3.60
• Total Gross Amount: 113.50
Tax Breakdown
• Tax percentage: Entregas IVA 21%
• Taxable Amount: 93.81
• Total Tax amount: 19.69
Then to delete the product “Adhesive body warmers” from the receipt
Select the product “Adhesive body warmers”
Verify below buttons appears at the right hand side of the terminal
• “Delete”
• “Description”
• “Return Line”
Click “Delete” button and verify
• “Approval Required” popup appears, also “Openbravo” user appears in approval list
Enter as
• User id: “demouser”
• Password: “openbravo”
Then click “Approve” button
Verify line item “Adhesive body warmers” removed from the receipt and also verify success message appears on the right hand side of the terminal “Deleted line 1 X Adhesive body warmers’
Then verify the below details in the receipt
• Product: Alpine skiing backpack 27 L
• Qty: 1
• Price: 109.90
• Total Gross Amount: 109.90
Tax Breakdown
• Tax percentage: Entregas IVA 21%
• Taxable Amount: 90.83
• Total Tax amount: 19.07
Tap on the “Total” amount
• . Verify “109.90 € remaining to pay.” text appears on the right hand side of the terminal, along with “OK” button
To complete the receipt, click “OK” button
Then click “Done” button
 Verify the success message appears in the screen
• SUCCESS
• Receipt no: xxxxx/yyyyyyyy has been closed successfully
No tags attached.
png In offline mode, delete line approval process not working as expected(Q3).png (214,496) 2014-07-02 12:21
https://issues.openbravo.com/file_download.php?file_id=7034&type=bug
png
Issue History
2014-07-02 12:21sureshbabuNew Issue
2014-07-02 12:21sureshbabuAssigned To => marvintm
2014-07-02 12:21sureshbabuFile Added: In offline mode, delete line approval process not working as expected(Q3).png
2014-07-02 12:21sureshbabuRegression level => QA functional test
2014-07-02 12:21sureshbabuTriggers an Emergency Pack => No
2014-07-17 23:38szapataAssigned Tomarvintm => szapata
2014-07-17 23:39szapataStatusnew => scheduled
2014-07-17 23:39szapatafix_in_branch => pi
2014-07-17 23:39szapataNote Added: 0068717
2014-07-17 23:39szapataStatusscheduled => resolved
2014-07-17 23:39szapataResolutionopen => fixed
2014-07-28 12:31dmitry_mezentsevNote Added: 0068910
2014-07-28 16:42marvintmReview Assigned To => marvintm
2014-07-28 16:42marvintmStatusresolved => closed
2014-07-28 16:42marvintmFixed in Version => RR14Q2.2

Notes
(0068717)
szapata   
2014-07-17 23:39   
Fixed in commit:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a0e2d14692f [^]

wrong commit message.
(0068910)
dmitry_mezentsev   
2014-07-28 12:31   
The issue is not closed for 11 days.
Please take an action!