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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044226
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts by Totalmajoralways2020-05-28 13:162020-06-17 08:33
ReporterLeyreView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revisionf776601d4d07
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044226: It is possible to modify the "Currency format" (in the "Organization" window) with a precision different from the original curre

DescriptionIt is possible to modify the "Currency format" (in the "Organization" window) with a precision different from the original currency.

This generates that the POS Terminal does not calculate correctly prices, discounts ...
Steps To ReproduceEXAMPLE: One decimal

Backend:
https://livebuilds.openbravo.com/retail_modules_pgsql_pi/ [^]

1) Navigate to Organization = Vall Blanca Store
2) Currency Format = #,##0.0
3) Configure a discount = Variable Discount per Total Amount -> amount = 10

Web POS:
https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]

1) Add a product 1 -> price = 9.9
2) Add a product 2 -> price = 9.9
3) Add a product 3 -> price = 2.9
4) Add the previous discount

Actual Result -> By Total amount = 10.1
Proposed SolutionAdd a warning message in the Backend indicating that if the "Currency Format" field in the "Organization" window is modified, and has a different value than the "POS Precision" field in the "Currency" window, it can cause problems.
TagsNo tags attached.
Attached Filespatch file icon issue 44226 source posterminal.patch [^] (8,387 bytes) 2020-06-10 12:15 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120878)
hgbot (developer)
2020-06-17 08:31

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f776601d4d07c127f78dfd814b86f55a75197a99
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jun 17 12:01:07 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f776601d4d07c127f78dfd814b86f55a75197a99 [^]

Fixed issue-44226 : Added Callout to check Orgs CurrencyFormat with POS Precision

* If Orgs CurrencyFormat precision is not same as Currency POS Precision,
  then warning should be shown

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
A src/org/openbravo/retail/posterminal/ad_callouts/CheckOrgCurrencyFormatwithPOSPrecision.java
---

- Issue History
Date Modified Username Field Change
2020-05-28 13:16 Leyre New Issue
2020-05-28 13:16 Leyre Assigned To => Retail
2020-05-28 13:16 Leyre Resolution time => 1592431200
2020-05-28 13:16 Leyre Triggers an Emergency Pack => No
2020-05-28 13:17 Leyre File Added: case1.png
2020-05-28 13:17 Leyre File Added: case2.png
2020-06-01 10:38 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-06-10 09:47 Leyre Summary The "By Total" discount, is not calculated correctly with one/zero decimals. => It is possible to modify the "Currency format" (in the "Organization" window) with a precision different from the original curre
2020-06-10 09:47 Leyre Description Updated View Revisions
2020-06-10 09:47 Leyre Steps to Reproduce Updated View Revisions
2020-06-10 09:47 Leyre Proposed Solution updated
2020-06-10 09:47 Leyre File Deleted: case1.png
2020-06-10 09:47 Leyre File Deleted: case2.png
2020-06-10 12:14 ranjith_qualiantech_com Status new => scheduled
2020-06-10 12:15 ranjith_qualiantech_com File Added: issue 44226 source posterminal.patch
2020-06-17 08:31 hgbot Checkin
2020-06-17 08:31 hgbot Note Added: 0120878
2020-06-17 08:31 hgbot Status scheduled => resolved
2020-06-17 08:31 hgbot Resolution open => fixed
2020-06-17 08:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f776601d4d07c127f78dfd814b86f55a75197a99 [^]
2020-06-17 08:33 marvintm Review Assigned To => marvintm
2020-06-17 08:33 marvintm Status resolved => closed
2020-06-17 08:33 marvintm Fixed in Version => RR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker