Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007216 | Openbravo ERP | B. User interface | public | 2009-01-29 11:28 | 2009-03-03 06:00 |
|
Reporter | plujan | |
Assigned To | Dowid | |
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 2.50beta | |
Merge Request Status | |
Review Assigned To | |
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 | 0007216: If a wrong price is entered on an Invoice Line, message is not correct and line net amount is not updated |
Description | I 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 Reproduce | 1. 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 Solution | The 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. |
Additional Information | |
Tags | comsup_sprint7 |
Relationships | depends on | backport | 0007331 | | closed | Dowid | 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 | | closed | rafaroda | Saving an Invoice line after an error shows a new different error | related to | feature request | 0007441 | pi | acknowledged | iciordia | Validation of number field before saving |
|
Attached Files | BUG_250_trunk_WrongMessageInvoiceLinePrice.PNG (64,743) 2009-01-29 11:28 https://issues.openbravo.com/file_download.php?file_id=760&type=bug
|
|
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 |
Notes |
|
|
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
|
2009-02-12 16:34
|
|
Added dependency to new issue found, required to verify this one. |
|
|
(0013907)
|
svnbot
|
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 [^]
|
|
|
|
|