Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020734Openbravo ERP07. Sales managementpublic2012-06-12 13:142012-06-12 15:25
eduardo_Argal 
marvintm 
immediatecriticalalways
closedfixed 
5
 
3.0MP12 
Core
Pre packaging ( pi )
2012-05-29
http://code.openbravo.com/erp/devel/pi/rev/6f6aeb05d3bdbf7afc1bffd7e7b4bc7b9b3897de [^]
No
0020734: Product callout is not working properly as currency is wrongly set
Product callout is not working properly as currency is wrongly set
When adding a new line in sales order window, callout is working wrong and sets as currency first value of the combo (AED) while it should add (EUR)
1) create a sales order header using an EUR pricelist
2) Enter a line and select a product.
3) Save and realize that currency stored in Data Base is AED while it should be EUR
Problem seems to be related to how callouts are handled as this callout was working before and no change has been introduced. Probably another changed has raised a coding error in this callout as currency value is passed as a number when it should be a String
No tags attached.
Issue History
2012-06-12 13:14eduardo_ArgalNew Issue
2012-06-12 13:14eduardo_ArgalAssigned To => marvintm
2012-06-12 13:14eduardo_ArgalModules => Core
2012-06-12 13:50hgbotCheckin
2012-06-12 13:50hgbotNote Added: 0049762
2012-06-12 13:50hgbotStatusnew => resolved
2012-06-12 13:50hgbotResolutionopen => fixed
2012-06-12 13:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c71e65f4a614edd4d2271d47f0b192d58d394c39 [^]
2012-06-12 15:23alostaleStatusresolved => new
2012-06-12 15:23alostaleResolutionfixed => open
2012-06-12 15:23alostaleRegression level => Pre packaging ( pi )
2012-06-12 15:23alostaleRegression date => 2012-05-29
2012-06-12 15:23alostaleRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/6f6aeb05d3bdbf7afc1bffd7e7b4bc7b9b3897de [^]
2012-06-12 15:24alostaleStatusnew => scheduled
2012-06-12 15:24alostalefix_in_branch => pi
2012-06-12 15:24alostaleStatusscheduled => resolved
2012-06-12 15:24alostaleResolutionopen => fixed
2012-06-12 15:25alostaleNote Added: 0049770
2012-06-12 15:25alostaleStatusresolved => closed
2012-06-12 15:25alostaleFixed in Version => 3.0MP12

Notes
(0049762)
hgbot   
2012-06-12 13:50   
Repository: erp/devel/pi
Changeset: c71e65f4a614edd4d2271d47f0b192d58d394c39
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jun 12 13:49:31 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c71e65f4a614edd4d2271d47f0b192d58d394c39 [^]

Fixed issue 20734. Readded optimization.
Without the optimization, the results generated by the Javascript parsing were different. In this specific example, the value 102 was transformed into a double (102.0), and this produced the error described in the issue.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0049770)
alostale   
2012-06-12 15:25   
Code reviewed and tested