Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0012832 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | critical | have not tried | 2010-03-29 11:49 | 2010-05-18 12:12 | |||
Reporter | arunkumar | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a31f8e677521 | ||||
Projection | none | ETA | none | Target Version | 2.50MP17 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP9 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0012832: Precision error in sales invoice | |||||||
Description | Configure the Format.xml to 4 decimal places and configure the Price precision as 4 in general setup -> Application -> currency.If the product price has four decimal places for example 6.7849 then while selecting the product in sales invoice and changing the quantity to 2 then the price is rounded off to 6.7850. | |||||||
Steps To Reproduce | Prerequisite: Format.xml -> priceRelation and priceEdition are set as 0.0000 General Setup -> Application -> currency. For Euro Standard precision=2, Price precision=4, Costing precision=2 Create a business partner CUSTOMER A. Pricelist -> Create a pricelist CUSTOMER A - product : A Final Goods List price = Standard Price = Price Limit = 6.7849 for the product. Steps to reproduce the issue: ** Go to Sales Management || Transactions || Sales Invoice || Header ** Create a new record and select the business partner CUSTOMER A which has the Price List "CUSTOMER A" ** Go to lines and select the product A Final Goods. If the ordered quantity is 1 then the net unit price is set as 6.7849. But if I change the quantity to 2 then the net unit price changes to 6.7850. | |||||||
Proposed Solution | Since the Format.xml and Price precision are configured to hold 4 decimal places rounding off should not be done here. | |||||||
Tags | Regression | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0025907) hgbot (developer) 2010-04-06 17:24 |
Repository: erp/devel/pi Changeset: a31f8e677521b9dd6890f186f69f02f48a89d53f Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Apr 06 17:35:29 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a31f8e677521b9dd6890f186f69f02f48a89d53f [^] fixed bug 12832: Precision error Format is now taken into accout for hidden fields --- M src-wad/src/org/openbravo/wad/Wad.java M src-wad/src/org/openbravo/wad/controls/WADControl.java M src-wad/src/org/openbravo/wad/controls/WADHiddenXML.html M src-wad/src/org/openbravo/wad/controls/WADInteger.java M src-wad/src/org/openbravo/wad/controls/WADNumber.java A src-wad/src/org/openbravo/wad/controls/WADHiddenNumber.html A src-wad/src/org/openbravo/wad/controls/WADHiddenNumber.xml R src-wad/src/org/openbravo/wad/controls/WADHidden.java --- |
(0026228) iperdomo (viewer) 2010-04-15 10:27 |
Tested on PI @ rev 7076c219cdd9 Now, hidden fields have outputformat attribute |
(0026419) hudsonbot (viewer) 2010-04-19 21:12 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/a31f8e677521 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2010-03-29 11:49 | arunkumar | New Issue | |
2010-03-29 11:49 | arunkumar | Assigned To | => adrianromero |
2010-03-29 11:49 | arunkumar | OBNetwork customer | => No |
2010-03-29 11:49 | arunkumar | Status | new => scheduled |
2010-03-29 11:49 | arunkumar | fix_in_branch | => pi |
2010-03-29 13:18 | adrianromero | Relationship added | related to 0012798 |
2010-03-29 13:19 | adrianromero | Relationship deleted | related to 0012798 |
2010-03-29 13:19 | adrianromero | Relationship added | related to 0012788 |
2010-03-29 19:03 | adrianromero | Relationship added | related to 0012843 |
2010-03-30 11:11 | adrianromero | Relationship replaced | duplicate of 0012788 |
2010-03-30 11:12 | adrianromero | Assigned To | adrianromero => alostale |
2010-03-30 11:12 | adrianromero | Priority | immediate => urgent |
2010-03-30 11:12 | adrianromero | Target Version | => 2.50MP15 |
2010-03-30 11:12 | adrianromero | fix_in_branch | pi => |
2010-04-06 17:24 | hgbot | Checkin | |
2010-04-06 17:24 | hgbot | Note Added: 0025907 | |
2010-04-06 17:24 | hgbot | Status | scheduled => resolved |
2010-04-06 17:24 | hgbot | Resolution | open => fixed |
2010-04-06 17:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a31f8e677521b9dd6890f186f69f02f48a89d53f [^] |
2010-04-06 17:26 | alostale | Relationship replaced | has duplicate 0012788 |
2010-04-07 12:33 | psarobe | version | main => 2.50MP9 |
2010-04-07 12:33 | psarobe | Tag Attached: Regression | |
2010-04-15 10:27 | iperdomo | Note Added: 0026228 | |
2010-04-15 10:27 | iperdomo | Status | resolved => closed |
2010-04-16 00:00 | anonymous | sf_bug_id | 0 => 2987976 |
2010-04-19 21:12 | hudsonbot | Checkin | |
2010-04-19 21:12 | hudsonbot | Note Added: 0026419 | |
2010-05-18 12:12 | gorka_gil | Target Version | 2.50MP15 => 2.50MP17 |
Copyright © 2000 - 2009 MantisBT Group |