Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0042929 | Openbravo ERP | 01. General setup | public | 2020-01-17 12:37 | 2020-01-30 11:47 |
|
Reporter | ngarcia | |
Assigned To | AtulOpenbravo | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR20Q2 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0042929: Wrong warning shown when trying to change the standard precision of a currency to a value higher than 2 |
Description | Wrong warning shown when trying to change the standard precision of a currency to a value higher than 2 for currencies that allow it |
Steps To Reproduce | Check in the ISO_4217.xml file that the Units defined for OMR are 3
In the backoffice, as System Admin role:
Go to currency window and try to change the standard precision of OMR to a value different from 2
Check the following warning is shown:
The current standard precision: 3 is higher than currency precision defined on ISO 4217 specification: 2 for: OMR currency
The log shows:
ERROR org.openbravo.erpCommon.utility.ISOCurrencyPrecision - No ISO0417 XML file found.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0036693 | | closed | markmm82 | Openbravo ERP | In Currency window, Standard precision can be higher than the currency's real precision (commonly 2) | related to | design defect | 0036694 | | closed | jorge-garcia | Retail Modules | In Currency window, POS precision can be higher than the currency's real precision (commonly 2) |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-01-17 12:37 | ngarcia | New Issue | |
2020-01-17 12:37 | ngarcia | Assigned To | => Triage Finance |
2020-01-17 12:37 | ngarcia | Modules | => Core |
2020-01-17 12:37 | ngarcia | Resolution time | => 1581030000 |
2020-01-17 12:37 | ngarcia | Triggers an Emergency Pack | => No |
2020-01-17 12:54 | ngarcia | Relationship added | related to 0036693 |
2020-01-17 12:54 | ngarcia | Relationship added | related to 0036694 |
2020-01-17 13:01 | ngarcia | Issue Monitored: networkb | |
2020-01-20 09:36 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo |
2020-01-20 10:49 | AtulOpenbravo | Status | new => scheduled |
2020-01-24 08:24 | AtulOpenbravo | Note Added: 0117214 | |
2020-01-30 11:46 | hgbot | Checkin | |
2020-01-30 11:46 | hgbot | Note Added: 0117362 | |
2020-01-30 11:46 | hgbot | Status | scheduled => resolved |
2020-01-30 11:46 | hgbot | Resolution | open => fixed |
2020-01-30 11:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/02985617b29965c5b1d05671893d1ccb0ac784d2 [^] |
2020-01-30 11:46 | hgbot | Checkin | |
2020-01-30 11:46 | hgbot | Note Added: 0117363 | |
2020-01-30 11:47 | dmiguelez | Review Assigned To | => dmiguelez |
2020-01-30 11:47 | dmiguelez | Note Added: 0117364 | |
2020-01-30 11:47 | dmiguelez | Status | resolved => closed |
2020-01-30 11:47 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
Notes |
|
|
Test Plan
-Login as System Admin
- Go to currency window and try to change the standard precision of OMR to a value different from 2
- Check the following warning is shown:
The current standard precision: 3 is higher than currency precision defined on ISO 4217 specification: 2 for: OMR currency
- Check log messages and realize that there is no error shown. |
|
|
(0117362)
|
hgbot
|
2020-01-30 11:46
|
|
Repository: erp/devel/pi
Changeset: 02985617b29965c5b1d05671893d1ccb0ac784d2
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Jan 24 12:49:46 2020 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/02985617b29965c5b1d05671893d1ccb0ac784d2 [^]
Fixes BUG-0042929: Wrong warning shown when trying to change the
standard precision of a currency to a value higher than 2
**Get path of resource file ISO_4217.xml using ServletContext
along with relative path to the default design sub-folder within
the context's base design
---
M src/org/openbravo/erpCommon/utility/ISOCurrencyPrecision.java
---
|
|
|
(0117363)
|
hgbot
|
2020-01-30 11:46
|
|
Repository: erp/devel/pi
Changeset: 58082f777543893f3f839602d680c75f9b2c6370
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Jan 24 12:52:07 2020 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/58082f777543893f3f839602d680c75f9b2c6370 [^]
Related to ISSUE-42929: Apply sonarlint suggestions
**apply sonarlint suggestions related to formatting
debug log messages.
---
M src/org/openbravo/erpCommon/utility/ISOCurrencyPrecision.java
---
|
|
|
|
|