Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016271Openbravo ERPA. Platformpublic2011-03-14 16:232011-04-05 00:00
plujan 
marvintm 
normalminorhave not tried
closedfixed 
5
pi 
3.0RC63.0RC6 
Core
No
0016271: Two zero price Sales Order have different formats in Total Gross Amount column
I am exporting to CSV two Sales Order. One has no lines, the other has a zero price line.
The exported file shows Total Gross Amount as "0" for the order with no lines, and "0.00" for the other one.
Using QAAdmin go to Sales Order and check for the 50000 and 50001 Sales Order. Export the data and check the values:

"Transaction Document","Document No.","Order Date","Business Partner","Invoice Address","Document Status","Total Gross Amount"
"Standard Order","50000","02/16/2011","Customer A",".Pamplona, Street Customer center nº1","Draft","0"
"Standard Order","50001","02/16/2011","Customer A",".Pamplona, Street Customer center nº1","Draft","0.00"

Last column, Total Gross Amount is "0" for the first one and "0.00" for the other one.
No tags attached.
Issue History
2011-03-14 16:23plujanNew Issue
2011-03-14 16:23plujanAssigned To => marvintm
2011-03-14 16:23plujanModules => Core
2011-03-16 08:34alostaleTarget Version => 3.0RC6
2011-03-16 08:34alostaleStatusnew => scheduled
2011-03-16 08:34alostalefix_in_branch => pi
2011-03-31 16:08hgbotCheckin
2011-03-31 16:08hgbotNote Added: 0035428
2011-03-31 16:08hgbotStatusscheduled => resolved
2011-03-31 16:08hgbotResolutionopen => fixed
2011-03-31 16:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/287f7c30b34cc874f13062d1dc80334f5448d2d0 [^]
2011-04-04 11:31alostaleStatusresolved => closed
2011-04-04 11:31alostaleFixed in Version => 3.0RC6
2011-04-05 00:00anonymoussf_bug_id0 => 3274928

Notes
(0035428)
hgbot   
2011-03-31 16:08   
Repository: erp/devel/pi
Changeset: 287f7c30b34cc874f13062d1dc80334f5448d2d0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Mar 31 16:06:35 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/287f7c30b34cc874f13062d1dc80334f5448d2d0 [^]

Fixed issue 16271. Numbers will be formated before being exported to CSV, using a correct format.

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---