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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007216
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajorhave not tried2009-01-29 11:282009-03-03 06:00
ReporterplujanView Statuspublic 
Assigned ToDowid 
PriorityhighResolutionfixedFixed in Version2.50beta
StatusclosedFix in branchpiFixed in SCM revision13511
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision12283 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007216: If a wrong price is entered on an Invoice Line, message is not correct and line net amount is not updated

DescriptionI create a new Invoice, then I go to lines. After selecting a product, Line net is correct, so I save. Then I modify the unit price by a letter and save. The error message is not correct:
      
ERROR: null value in column "priceactual" violates not-null constraint

But the Line Net Amount keeps the old value.
Steps To Reproduce1. Create a Sales Invoice
2. Create a line for the invoice
3. Enter a product
4. Save. Verify that Line Net Amount has the correct value.
5. Modify the price changing Unit Price to "asd"
6. Save. A wrong error message is shown. See attach. Note that Line Net Amount keeps the previous value
Proposed SolutionThe error message should be changed to "ERROR: The value for Unit Price is not correct" or something similar.
Since I entered a wrong value in Unit Price and it was replaced by zero, Line Net Amount should be changed to zero too.
Tagscomsup_sprint7
Attached Filespng file icon BUG_250_trunk_WrongMessageInvoiceLinePrice.PNG [^] (64,743 bytes) 2009-01-29 11:28

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0007331 closedDowid If a wrong price is entered on an Invoice Line, message is not correct and line net amount is not updated 
depends on defect 0007538 closedrafaroda Saving an Invoice line after an error shows a new different error 
related to feature request 0007441pi acknowledgediciordia Validation of number field before saving 

-  Notes
(0013053)
psarobe (manager)
2009-02-03 09:58

Take in note that when you can finally save, the line amount still don't change so that's the reason why we change the severity to Major, high because you have, for example:

Quantity: 1
Price: 0
Line net amount: 35
(0013423)
plujan (manager)
2009-02-12 16:34

Added dependency to new issue found, required to verify this one.
(0013907)
svnbot (reporter)
2009-02-23 11:35

Repository: openbravo
Revision: 13511
Author: dowid
Date: 2009-02-23 11:35:34 +0100 (Mon, 23 Feb 2009)

Bug fixed 0007216: If a wrong price is entered on an Invoice Line, message is not correct and line net amount is not updated

---
U trunk/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java
U trunk/src/org/openbravo/erpCommon/utility/Utility.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=13511&sc=1 [^]
(0014248)
sureshbabu (reporter)
2009-03-03 06:00

Retested in context http://79.125.56.185/openbravotrunk [^]

- Issue History
Date Modified Username Field Change
2009-01-29 11:28 plujan New Issue
2009-01-29 11:28 plujan Assigned To => rafaroda
2009-01-29 11:28 plujan sf_bug_id 0 => 2545175
2009-01-29 11:28 plujan File Added: BUG_250_trunk_WrongMessageInvoiceLinePrice.PNG
2009-01-29 11:28 plujan Regression testing => No
2009-01-29 11:38 plujan Severity trivial => minor
2009-01-29 11:38 plujan Summary If a wrong price is entered on an Invoice Line, message is not correct => If a wrong price is entered on an Invoice Line, message is not correct and line net amount is not updated
2009-01-29 11:38 plujan Description Updated
2009-01-29 11:38 plujan Proposed Solution updated
2009-01-29 11:38 plujan Steps to Reproduce Updated
2009-02-03 09:58 psarobe Note Added: 0013053
2009-02-03 09:58 psarobe Priority normal => high
2009-02-03 09:58 psarobe Severity minor => major
2009-02-03 09:58 psarobe Status new => scheduled
2009-02-03 09:58 psarobe Assigned To rafaroda => Dowid
2009-02-03 09:58 psarobe fix_in_branch => trunk
2009-02-09 18:04 Dowid Relationship added related to 0007441
2009-02-12 16:32 plujan Relationship added depends on 0007538
2009-02-12 16:34 plujan Note Added: 0013423
2009-02-23 11:35 svnbot Checkin
2009-02-23 11:35 svnbot Note Added: 0013907
2009-02-23 11:35 svnbot Status scheduled => resolved
2009-02-23 11:35 svnbot Resolution open => fixed
2009-02-23 11:35 svnbot svn_revision => 13511
2009-02-24 14:59 PavelPonomarev Tag Attached: comsup_sprint7
2009-03-03 06:00 sureshbabu Status resolved => closed
2009-03-03 06:00 sureshbabu Note Added: 0014248
2009-03-03 06:00 sureshbabu Fixed in Version => trunk


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker