← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 643457] Re: BI charts not generating

 

BI module has been removed for the release of V6.

We will consider BI issues for minor releases of 6

Thanks.

** Changed in: openobject-client-web
       Status: New => Won't Fix

** Changed in: openobject-client-web
   Importance: Low => Wishlist

-- 
BI charts not generating
https://bugs.launchpad.net/bugs/643457
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Won't Fix

Bug description:
Hi,

I tested bi & mdx query generating correctly but there is some error when generating the pie & bar graphs. in mdx query the total/average/sum figures are with thousand separated (ex: sum of product code=xxx,xxx.00) & as in python float() will not take params as comma separated values,  fixed as following in openerp/widgets/tinybi/graph.py,

in graph.py
----------------
import local

locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')

replaced
elem_value = float(data[ax][mdx][0].split(" ")[0])

with
elem_value = float(locale.atof(data[ax][mdx][0].split(" ")[0]))

thanks & regards,
Suranga Kasthuriarachchi