Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047503
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalalways2021-08-04 14:532021-10-18 07:28
ReporterlmonrealView Statuspublic 
Assigned Torqueralta 
PriorityimmediateResolutionfixedFixed in VersionRR21Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047503: Rounding for a second currency generating a wrong behaviour in WEBPOS

DescriptionWhen there are two currencies that have rounding, the second one is generating wrong values in WEBPOS.

https://drive.google.com/file/d/1QpOrNNwJlK6sryAqIJfRviFQo4XKKgtg/view [^]

Please make sure the backport to 19Q3 works as we need it for this version.
Also please check that the fix applies to all currencies as we need for LBP and KWD.
Steps To ReproducePre requ:

1.Configure Rounding EUR and Rounding USD.

2. Associate the Roundings with Cash EUR and Cash USD. Both: Sales round up to 1

3. Load WEBPOS and do this test: EUR

-Add product that is 18.90 euros and pay--> With rounding price is 19 with a rounding - 0.10 and says exact amount pay-->OK

4. And now this test: USD

-Add product that is 18.90 euros and select Cash USD to pay. Conversion is 24.84 dollars, pay.

Expected behaviour is rounding to 25 usd and a rounding of - 0.16. Ticket paid.

Actual behaviour: 0.11 remaining to pay (???) with a payment of 24.84 and rounding 0.10(???) -->KO



TagsNo tags attached.
Attached Filespatch file icon 0001-Fixed-BUG-47503-Take-into-account-mulrate-value-to-c.patch [^] (1,240 bytes) 2021-08-18 15:37 [Show Content]
patch file icon New Fix 47503.patch [^] (2,603 bytes) 2021-08-27 16:59 [Show Content]
patch file icon 47503-NewPatchII.patch [^] (747 bytes) 2021-08-30 18:19 [Show Content]
patch file icon 47503-NewPatchIII.patch [^] (2,180 bytes) 2021-08-31 20:18 [Show Content]
patch file icon 47503-Check-if-paymetrounding-added-was-UP-or-Do.patch [^] (950 bytes) 2021-09-01 22:00 [Show Content]
patch file icon 47503-Check-paymetrounding II.patch [^] (917 bytes) 2021-09-02 15:37 [Show Content]
patch file icon 47503-Getting the absolute value of originAmount.patch [^] (936 bytes) 2021-09-03 19:14 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0131033)
hgbot (developer)
2021-08-08 16:53

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/538 [^]
(0131123)
hgbot (developer)
2021-08-16 06:49

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/538 [^]
(0131124)
hgbot (developer)
2021-08-16 06:49

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a56a12800440ea9851283e26b5f9d5dc5dd01334
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-08-16T04:49:23+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a56a12800440ea9851283e26b5f9d5dc5dd01334 [^]

Fixed BUG-47503: Take into account mulrate value to calculate the pendingAma

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---

- Issue History
Date Modified Username Field Change
2021-08-04 14:53 lmonreal New Issue
2021-08-04 14:53 lmonreal Assigned To => Retail
2021-08-04 14:53 lmonreal Resolution time => 1628546400
2021-08-04 14:53 lmonreal Triggers an Emergency Pack => No
2021-08-04 14:55 lmonreal Description Updated View Revisions
2021-08-04 14:55 lmonreal Steps to Reproduce Updated View Revisions
2021-08-04 17:46 adrianromero Status new => acknowledged
2021-08-05 13:12 adrianromero Status acknowledged => scheduled
2021-08-05 13:12 adrianromero Assigned To Retail => rqueralta
2021-08-08 16:53 hgbot Note Added: 0131033
2021-08-16 06:49 hgbot Resolution open => fixed
2021-08-16 06:49 hgbot Status scheduled => closed
2021-08-16 06:49 hgbot Note Added: 0131123
2021-08-16 06:49 hgbot Fixed in Version => RR21Q4
2021-08-16 06:49 hgbot Note Added: 0131124
2021-08-17 17:42 rqueralta File Added: 0001-Fixed-BUG-47503-Take-into-account-mulrate-value-to-c.patch
2021-08-18 15:33 rqueralta File Deleted: 0001-Fixed-BUG-47503-Take-into-account-mulrate-value-to-c.patch
2021-08-18 15:37 rqueralta File Added: 0001-Fixed-BUG-47503-Take-into-account-mulrate-value-to-c.patch
2021-08-27 16:59 rqueralta File Added: New Fix 47503.patch
2021-08-30 18:19 rqueralta File Added: 47503-NewPatchII.patch
2021-08-31 20:18 rqueralta File Added: 47503-NewPatchIII.patch
2021-09-01 22:00 rqueralta File Added: 47503-Check-if-paymetrounding-added-was-UP-or-Do.patch
2021-09-02 15:37 rqueralta File Added: 47503-Check-paymetrounding II.patch
2021-09-03 19:14 rqueralta File Added: 47503-Getting the absolute value of originAmount.patch
2021-10-03 13:16 hgbot Note Added: 0132104
2021-10-18 07:28 hgbot Note Added: 0132370
2021-10-18 07:35 marvintm Note Deleted: 0132370
2021-10-18 07:35 marvintm Note Deleted: 0132104


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker