c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23944
[Bug 620791] Re: trunk: olap indentation Error
Hello Marco,
Thanks for your reply!
According to comment#2 I have fixed it again.
extra-6.0 5448 amp@xxxxxxxxxxx-20110511094021-b5uvvquh1h134rhg
extra-trunk 5334 amp@xxxxxxxxxxx-20110511094122-l4af54tlt9px3n14
Thanks.
** Changed in: openobject-addons
Status: In Progress => Fix Released
--
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):
Fix Released
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})