Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029798Retail ModulesWeb POSpublic2015-05-06 10:352017-01-16 09:30
lorenzofidalgo 
jorge-garcia 
urgentmajoralways
closedno change required 
5
main 
 
jorge-garcia
No
0029798: Paid amount does not correspond with discounted amount using USA Cash
Discounted amount when certain amount is paid is not correctly calculated while user is working with USA Cash.
I have checked marking that receipt as layaway that quantities are not correctly saved in backend.
1-Login POS as vallblanca//openbravo.
2-Add 1x "Alpine backpack 27 L".
3-Click Total Amount button.
4-Click USA Cash button.
5-Pay 6$ and CHECK that, actually, 5.99$ are discounted INSTEAD OF 6$.
(With next steps we will check how this is saved in backend).
6-In dropdown POS menu, click "Layaway this receipt", click Total Amount button and click in "Layaway" button to layaway this receipt.
7-In backend, go to "Sales Order" window.
8-Select the just created sales order record and go to "Payment Plan" tab and, after that, go to "Payment Details" tab in form view. In "Received (Account Currency)" field you can confirm 5.99$ are received instead of 6$.

--

In step number 5, you can also see this malfunction paying 1cent by 1cent and you will realse sometimes it is not correctly calculated.
No tags attached.
related to defect 0030792RR15Q4 closed platform Retail Modules Paid amount does not correspond with discounted amount using USA Cash 
depends on defect 0034949 new Triage Omni OMS Openbravo ERP Payment Detail is not showing real field value sometimes 
Not all the children of this issue are yet resolved or closed.
png 6Dollars.png (85,728) 2015-05-06 10:35
https://issues.openbravo.com/file_download.php?file_id=8057&type=bug
png

png 2Cents.png (91,081) 2015-05-06 10:37
https://issues.openbravo.com/file_download.php?file_id=8058&type=bug
png

png 2CentsPaidBut3Discounted.png (175,941) 2015-05-06 10:37
https://issues.openbravo.com/file_download.php?file_id=8059&type=bug
png
Issue History
2015-05-06 10:35lorenzofidalgoNew Issue
2015-05-06 10:35lorenzofidalgoAssigned To => Retail
2015-05-06 10:35lorenzofidalgoFile Added: 6Dollars.png
2015-05-06 10:35lorenzofidalgoTriggers an Emergency Pack => No
2015-05-06 10:37lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8462#r8462
2015-05-06 10:37lorenzofidalgoFile Added: 2Cents.png
2015-05-06 10:37lorenzofidalgoFile Added: 2CentsPaidBut3Discounted.png
2015-06-03 16:20sureshbabuNote Added: 0078027
2015-08-27 23:30mario_castelloNote Added: 0079784
2015-09-08 11:49OrekariaStatusnew => scheduled
2015-09-08 17:22OrekariaNote Added: 0080246
2015-09-08 17:24AugustoMauchRelationship deleteddepends on 0030792
2015-09-08 17:26AugustoMauchRelationship addedrelated to 0030792
2015-09-08 17:31lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9394#r9394
2015-09-08 17:32lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9395#r9395
2016-01-22 13:57lorenzofidalgoNote Added: 0083568
2017-01-13 13:14jorge-garciaAssigned ToRetail => jorge-garcia
2017-01-13 14:25jorge-garciaReview Assigned To => jorge-garcia
2017-01-13 14:25jorge-garciaNote Added: 0093545
2017-01-13 14:25jorge-garciaStatusscheduled => closed
2017-01-13 14:25jorge-garciaResolutionopen => no change required
2017-01-16 09:30jorge-garciaRelationship addeddepends on 0034949

Notes
(0078027)
sureshbabu   
2015-06-03 16:20   
Able to reproduce the issue in live builds (retested on 3rd June 2015)
(0079784)
mario_castello   
2015-08-27 23:30   
Backend problem when showing the value. This value is saved in the database correctly but in the window is calculated this value again and this new value is different to the database field.
(0080246)
Orekaria   
2015-09-08 17:22   
From platform feedback, looks like POS is saving a '5.9935332930264' value in the database
So, the ERP is showing correctly that 1 cent is missing
(0083568)
lorenzofidalgo   
2016-01-22 13:57   
This is still reproducible in PI
(0093545)
jorge-garcia   
2017-01-13 14:25   
From the retail point of view, data are displayed and calculated as expected.

The only thing left is to fix the view generated in the Payment Detail tab to show the correct value in the Payment In generated.