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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014531
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2010-09-13 20:012010-10-13 18:57
ReportertgarciaView Statuspublic 
Assigned Tomohankumar 
PrioritynormalResolutionfixedFixed in Version2.50MP23
StatusclosedFix in branchFixed in SCM revision346733f763b7
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00133202.50MP18 closedadrianromero Different behaviour when changing decimal separator 
related to defect 00133252.50MP18 closedharikrishnan The application does not work properly depending Format's and PostgreSQL's configuration 

-  Notes
(0031029)
adrianromero (manager)
2010-09-14 12:03

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.
(0031062)
tgarcia (reporter)
2010-09-14 18:30

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.
(0031147)
adrianromero (manager)
2010-09-16 11:33

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 (developer)
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
---
(0031769)
hudsonbot (developer)
2010-10-11 22:21

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/346733f763b7 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/68694c340492 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18513.obx [^]
(0031777)
mohankumar (reporter)
2010-10-12 07:37

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
(0031827)
psarobe (manager)
2010-10-13 18:57

Tested working fine

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker