Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0016337 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | major | have not tried | 2011-03-16 18:04 | 2011-05-24 10:55 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 90437c16866b | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0016337: Strange message "0.0 is not correct, consider using 0.00" when creating a Purchase Invoice line | |||||||
Description | When creating a line in Purchase Invoice, I receive a weird message: "It's not correct the amount provided: 0.0. Please consider using 0.00" Just for the record, I see no value "0.0" in the record. See steps. | |||||||
Steps To Reproduce | 1. Log in as QAAdmin 2. Go to Purchase Invoice and create a header 3. Go to Lines and create a new one. Do nothing else. The above message is shown. See screenshot. | |||||||
Proposed Solution | First, correct message's grammar. It should be: "The amount provided nnn is not correct, consider using mmm instead" Second, I did nothing yet on the form, so no reason for that message after all Third, probably at String level "0.0" does not equals "0.00" but zero equals zero at human level, so message should not be shown neither. Fourth, if I click Save (changing nothing in the record) I can save with no issues, so message means nothing. | |||||||
Tags | closingMay2011 | |||||||
Attached Files | screenshot-25.png [^] (40,981 bytes) 2011-03-16 18:04
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0035056) hgbot (developer) 2011-03-18 16:48 |
Repository: erp/devel/pi Changeset: 90437c16866be8b97236af2763a1cc4e714e19bb Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Fri Mar 18 16:47:22 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/90437c16866be8b97236af2763a1cc4e714e19bb [^] Fixed issue 16337. Round both sides of the comparison to get correct results. --- M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2011-03-16 18:04 | plujan | New Issue | |
2011-03-16 18:04 | plujan | Assigned To | => dbaz |
2011-03-16 18:04 | plujan | File Added: screenshot-25.png | |
2011-03-16 18:04 | plujan | Modules | => Core |
2011-03-16 18:06 | dbaz | Assigned To | dbaz => mtaal |
2011-03-16 19:02 | plujan | Relationship added | related to 0016338 |
2011-03-17 16:29 | mtaal | Assigned To | mtaal => marvintm |
2011-03-18 16:48 | hgbot | Checkin | |
2011-03-18 16:48 | hgbot | Note Added: 0035056 | |
2011-03-18 16:48 | hgbot | Status | new => resolved |
2011-03-18 16:48 | hgbot | Resolution | open => fixed |
2011-03-18 16:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/90437c16866be8b97236af2763a1cc4e714e19bb [^] |
2011-05-24 10:12 | dalsasua | Tag Attached: closingMay2011 | |
2011-05-24 10:55 | dalsasua | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |