Openbravo Issue Tracking System - POS2
View Issue Details
0057746POS2POSpublic2025-01-24 09:382025-02-06 06:49
DanielMancho 
Retail 
normalminoralways
closedno change required 
5
 
 
No
0057746: [25Q1] Incorrect number when changing quantity of the product when returning an order
When creating a verified return of a order with multiple units of a product, if changing the quantity to return to a different of the maximum by clicking on the left of the 0 and with the keyboard, it appears the maximum
1. Log in POS
2. Add 5 Alpine skiing backpack 27 L to the order
3. Click Pay button
4. Click Cash button
5. Click Done button
6. Go to orders in the menu
7. Open the created order
8. Click the 3 vertical dots and select Verified returns
9. Click on the left side of the amount in the quantity to return field from a line
10. Type 3 using the keyboard

Expected result: the quantity to return is set to 3
Observed result: the quantity is 5
No tags attached.
png Screenshot from 2025-01-24 09-35-09.png (118,851) 2025-01-24 09:38
https://issues.openbravo.com/file_download.php?file_id=20793&type=bug
png
Issue History
2025-01-24 09:38DanielManchoNew Issue
2025-01-24 09:38DanielManchoAssigned To => Retail
2025-01-24 09:38DanielManchoFile Added: Screenshot from 2025-01-24 09-35-09.png
2025-01-24 09:38DanielManchoTriggers an Emergency Pack => No
2025-01-24 10:42DanielManchoSummary[25Q1] Incorrect number when changing quantity of the product when refunding an order => [25Q1] Incorrect number when changing quantity of the product when returning an order
2025-01-24 10:42DanielManchoDescription Updatedbug_revision_view_page.php?rev_id=29119#r29119
2025-01-24 10:44DanielManchoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29121#r29121
2025-01-26 11:03guillermogilNote Added: 0174699
2025-01-26 11:03guillermogilAssigned ToRetail => DanielMancho
2025-01-26 11:03guillermogilStatusnew => feedback
2025-01-27 09:22DanielManchoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29124#r29124
2025-02-04 11:49DanielManchoNote Added: 0175097
2025-02-04 11:49DanielManchoAssigned ToDanielMancho => Retail
2025-02-04 11:49DanielManchoStatusfeedback => new
2025-02-06 06:49jorgewederagoNote Added: 0175189
2025-02-06 06:49jorgewederagoStatusnew => closed
2025-02-06 06:49jorgewederagoResolutionopen => no change required

Notes
(0174699)
guillermogil   
2025-01-26 11:03   
I'm not able to understand the last step:
9. Fill the quantity to Return with 3 using the keyboard but clicking with the mouse on the left of the 0

Can you clarify what is "the left of the 0"?
(0175097)
DanielMancho   
2025-02-04 11:49   
Already discussed
(0175189)
jorgewederago   
2025-02-06 06:49   
This is not an issue. What is happening here is that the value is evaluated at "real time" thus putting something on the left of the 0 (eg: 3) makes the component to think that you are writing 30 and it will be automatically changed to the maximum amount in the line which in the example is 5