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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016337
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajorhave not tried2011-03-16 18:042011-05-24 10:55
ReporterplujanView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision90437c16866b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016337: Strange message "0.0 is not correct, consider using 0.00" when creating a Purchase Invoice line

DescriptionWhen 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 Reproduce1. 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 SolutionFirst, 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.
TagsclosingMay2011
Attached Filespng file icon screenshot-25.png [^] (40,981 bytes) 2011-03-16 18:04

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00163383.0RC7 closedmtaal Usability issue when a message is shown in Lines 

-  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
Powered by Mantis Bugtracker