c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23908
[Bug 620791] Re: trunk: olap indentation Error
** Changed in: openobject-addons
Milestone: 6.0 => None
** Changed in: openobject-client
Importance: Undecided => Low
** Changed in: openobject-client
Assignee: (unassigned) => Amit Parik (OpenERP) (amp-openerp)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/620791
Title:
trunk: olap indentation Error
Status in OpenERP Modules (addons):
In Progress
Bug description:
Selecting bussiness intelligence on configuration wizard to be
installed I obtain this error:
import olap
File "/home/ana/openerp6.0/server/bin/addons/olap/olap.py", line 37, in <module>
import cube
File "/home/ana/openerp6.0/server/bin/addons/olap/cube/__init__.py", line 3, in <module>
from warehouse import warehouse
File "/home/ana/openerp6.0/server/bin/addons/olap/cube/warehouse.py", line 92
pooler.get_pool(cr.dbname).get('olap.query.logs').write(cr, uid, log_ids, {'count':counter, 'table_name': table_name})
^
IndentationError: expected an indented block
I just solved including correct indentation on line 92 of file warehouse.py, as shown below.
elif len(data[0]) == 3:
pooler.get_pool(cr.dbname).get('olap.query.logs').write(cr, uid, log_ids, {'count':counter, 'table_name': table_name})