Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015059 | Modules | Gross Amounts in Invoices and Orders Lines | public | 2010-10-28 09:50 | 2010-11-10 10:26 |
|
Reporter | networkb | |
Assigned To | dalsasua | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | 2.50 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | OBPS |
Regression introduced in release | |
|
Summary | 0015059: decimals error to edit Gross Unit Price |
Description | . in purchase invoice line, if you select "Edit Gross Amounts" and change the value of "Gross Unit Price", in some ocassions, the value calculated in "Line Gross Amount" is not correct
|
Steps To Reproduce | . in purchase invoice lines
. select the product hammer
. Invoice quantity = 1
. Net unit price = 45
. select a tax with rate 19%
. select "Edit Gross Amounts"
. change the value of "Gross Unit Price" to 45.00
the value "Line Gross Amount" calculated is 45.01, but the correct value should be 45.00
If you change the value "Line Gross Amount" to 45.00, when you save the line, error is returned:
ERROR: Line Amount Is Not Correct |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0014920 | 2.50MP24 | closed | adrianromero | Openbravo ERP | Wrong Net Unit Price when Line Net Amount is edited |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-10-28 09:50 | networkb | New Issue | |
2010-10-28 09:50 | networkb | Assigned To | => dalsasua |
2010-10-28 09:50 | networkb | OBNetwork customer | => Yes |
2010-10-28 10:21 | psanjuan | Note Added: 0032285 | |
2010-10-28 10:21 | psanjuan | Resolution | open => unable to reproduce |
2010-10-28 10:21 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=1141#r1141 |
2010-10-28 10:22 | psanjuan | Note Added: 0032286 | |
2010-10-28 10:22 | psanjuan | Status | new => closed |
2010-10-28 10:22 | psanjuan | Note Deleted: 0032285 | |
2010-10-28 12:09 | rafaroda | Note Added: 0032293 | |
2010-10-28 16:13 | rafaroda | Issue Monitored: rafaroda | |
2010-10-28 16:31 | mgerke | Note Added: 0032311 | |
2010-10-28 16:47 | psanjuan | Status | closed => new |
2010-10-28 16:47 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=1144#r1144 |
2010-10-28 17:07 | psanjuan | Note Added: 0032314 | |
2010-10-29 11:17 | dalsasua | Status | new => scheduled |
2010-10-29 11:17 | dalsasua | Note Added: 0032328 | |
2010-10-29 11:17 | dalsasua | fix_in_branch | => pi |
2010-11-02 13:02 | hgbot | Checkin | |
2010-11-02 13:02 | hgbot | Note Added: 0032353 | |
2010-11-02 13:03 | hgbot | Status | scheduled => resolved |
2010-11-02 13:03 | hgbot | Resolution | unable to reproduce => fixed |
2010-11-02 13:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.grossamountinvoicelines/rev/891e7f104c7f78ca9fd1bd912a7cff5997513049 [^] |
2010-11-10 10:26 | sathiyan | Status | resolved => closed |
2010-11-10 13:14 | rafaroda | Relationship added | related to 0014920 |
Notes |
|
|
following the steps I'm not able to reproduce this.. |
|
|
|
Any relationship of this issue with 0014920? I say it because the error message is exactly the same: ERROR: Line Amount Is Not Correct |
|
|
(0032311)
|
mgerke
|
2010-10-28 16:31
|
|
IMHO, a warning must arise that the user was entering a gross amount (=> 45.00) that is not possible with a tax percentage of 19% and the gross amount must be changed to 45.01 (in both fields on the right side) |
|
|
|
system should not change any value entered by the end-user but to provide a warning letting him/her know that the gross amount entered is not valid taking into account previously selected tax rate. |
|
|
|
As discussed, a warning message will be shown everytime the entered amount is not allowed. |
|
|
(0032353)
|
hgbot
|
2010-11-02 13:02
|
|
Repository: erp/pmods/org.openbravo.module.grossamountinvoicelines
Changeset: 891e7f104c7f78ca9fd1bd912a7cff5997513049
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Nov 02 12:59:18 2010 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.grossamountinvoicelines/rev/891e7f104c7f78ca9fd1bd912a7cff5997513049 [^]
Fixes issue 15059: Decimals error to edit Gross Unit Price.
Fixed in version 1.0.7 of the module
---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/grossamountinvoicelines/SL_Invoice_GrossNet_Amt.java
M src/org/openbravo/module/grossamountinvoicelines/SL_Order_GrossNet_Amt.java
A src-db/database/sourcedata/AD_MESSAGE.xml
---
|
|