Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014531 | Openbravo ERP | 07. Sales management | public | 2010-09-13 20:01 | 2010-10-13 18:57 |
|
Reporter | tgarcia | |
Assigned To | mohankumar | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | | |
Target Version | | Fixed in Version | 2.50MP23 | |
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 | 0014531: Using Comma as decimal separator causes malfunctions on Sales Invoice Lines |
Description | - Change all "decimal" fields in config/Format.xml to "," and all "grouping" fields to ".".
- Smartbuild => war => deploy.context
- Create a Sales invoice and a line inside of it;
- Select a product with a default price != 0 associated with it from the product popup box, in the sales invoice line window.
- Should that product's default price be 12,345, the imported "net unit price" is 12345,000 and the imported "Net List Price" is 12,000. |
Steps To Reproduce | - Change all "decimal" fields in config/Format.xml to "," and all "grouping" fields to ".".
- Smartbuild => war => deploy.context
- Create a Sales invoice and a line inside of it;
- Select a product with a default price != 0 associated with it from the product popup box, in the sales invoice line window.
- Should that product's default price be 12,345, the imported "net unit price" is 12345,000 and the imported "Net List Price" is 12,000. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0013320 | 2.50MP18 | closed | adrianromero | Different behaviour when changing decimal separator | related to | defect | 0013325 | 2.50MP18 | closed | harikrishnan | The application does not work properly depending Format's and PostgreSQL's configuration |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-09-13 20:01 | tgarcia | New Issue | |
2010-09-13 20:01 | tgarcia | Assigned To | => adrianromero |
2010-09-14 11:56 | adrianromero | Relationship added | related to 0013320 |
2010-09-14 11:57 | adrianromero | Relationship added | related to 0013325 |
2010-09-14 12:03 | adrianromero | Relationship replaced | duplicate of 0013325 |
2010-09-14 12:03 | adrianromero | Note Added: 0031029 | |
2010-09-14 12:03 | adrianromero | Status | new => closed |
2010-09-14 12:03 | adrianromero | Resolution | open => duplicate |
2010-09-14 18:30 | tgarcia | Note Added: 0031062 | |
2010-09-15 00:00 | anonymous | sf_bug_id | 0 => 3066293 |
2010-09-16 11:31 | adrianromero | Relationship replaced | related to 0013325 |
2010-09-16 11:33 | adrianromero | Note Added: 0031147 | |
2010-09-16 11:33 | adrianromero | Status | closed => new |
2010-09-16 11:33 | adrianromero | Resolution | duplicate => open |
2010-10-11 10:37 | mohankumar | Assigned To | adrianromero => mohankumar |
2010-10-11 13:10 | hgbot | Checkin | |
2010-10-11 13:10 | hgbot | Note Added: 0031753 | |
2010-10-11 13:10 | hgbot | Status | new => resolved |
2010-10-11 13:10 | hgbot | Resolution | open => fixed |
2010-10-11 13:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/346733f763b750d4fbbf1b596194cd28edbca1d4 [^] |
2010-10-11 22:21 | hudsonbot | Checkin | |
2010-10-11 22:21 | hudsonbot | Note Added: 0031769 | |
2010-10-12 07:37 | mohankumar | Note Added: 0031777 | |
2010-10-13 18:57 | psarobe | Note Added: 0031827 | |
2010-10-13 18:57 | psarobe | Status | resolved => closed |
2010-10-13 18:57 | psarobe | Fixed in Version | => 2.50MP23 |
Notes |
|
|
Hello.
This issue is a duplicate of issue 13325. In 13325 after changing the file Format.xml, the net unit price calculated is wrong.
Kindly test the issue with in the latest Openbravo ERP version. If you find differences between your issue and the issue fixed in 13325 and you still can reproduce the issue in the latest Openbravo ERP version. Feel free to reopen the issue.
Thanks for reporting the issue. |
|
|
|
Hello,
Sorry for reporting a duplicate issue :(
Just did some tests on 2.50MP21. "Net unit price" is ok, but "Net List Price" is still displays the incorrect behaviour described initially on this bug report. |
|
|
|
The field that has to be fixed is "Net unit price". The fix will be similar to the fix done in issue 13325 for field "Net list price" |
|
|
(0031753)
|
hgbot
|
2010-10-11 13:10
|
|
Repository: erp/devel/pi
Changeset: 346733f763b750d4fbbf1b596194cd28edbca1d4
Author: Mohankumar Swaminathan <mohankumar.swaminathan <at> gmail.com>
Date: Mon Oct 11 15:57:32 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/346733f763b750d4fbbf1b596194cd28edbca1d4 [^]
Fixes Issue 14531: Using Comma as decimal separator causes malfunctions on Sales Invoice Lines
---
M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java
---
|
|
|
|
|
|
|
Steps to Test
1.Change all "decimal" fields in config/Format.xml to "," and all "grouping" fields to ".".
2.ant Smartbuild
3.select Master Data Management || Product || Product >> Price >> select standard price of a product(example: Food) to 40.00
4.select Sales Management || Transactions || Sales Invoice || Header >> Lines >> select the product Food
5.Then the imported "net unit price" is 40.00 and the imported "Line Net Amount" is 80.00.
6.And verify the net unit price and Line Net Amount |
|
|
|
|