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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007331
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] B. User interfacemajorhave not tried2009-01-29 11:282009-03-03 05:54
ReporterplujanView Statuspublic 
Assigned ToDowid 
PriorityhighResolutionfixedFixed in Version2.40MP3
StatusclosedFix in branch2.40Fixed in SCM revision13530
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

0007331: 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0007216 closedDowid If a wrong price is entered on an Invoice Line, message is not correct and line net amount is not updated 

-  Notes
(0013420)
psarobe (manager)
2009-02-12 16:29

This has to be fixed for all the application and not only for this window
(0013942)
svnbot (reporter)
2009-02-23 14:45

Repository: openbravo
Revision: 13530
Author: dowid
Date: 2009-02-23 14:45:32 +0100 (Mon, 23 Feb 2009)

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

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java
U branches/r2.40/src/org/openbravo/erpCommon/utility/Utility.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=13530&sc=1 [^]
(0014247)
sureshbabu (reporter)
2009-03-03 05:54

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

- Issue History
Date Modified Username Field Change
2009-02-03 09:58 psarobe Type defect => backport
2009-02-03 09:58 psarobe fix_in_branch => 2.40
2009-02-03 11:17 rafaroda Assigned To rafaroda => Dowid
2009-02-12 16:29 psarobe Note Added: 0013420
2009-02-23 14:45 svnbot Checkin
2009-02-23 14:45 svnbot Note Added: 0013942
2009-02-23 14:45 svnbot Status scheduled => resolved
2009-02-23 14:45 svnbot Resolution open => fixed
2009-02-23 14:45 svnbot svn_revision => 13530
2009-03-03 05:54 sureshbabu Status resolved => closed
2009-03-03 05:54 sureshbabu Note Added: 0014247
2009-03-03 05:54 sureshbabu Fixed in Version => trunk


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker