openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13618
[Bug 1024470] [NEW] [trunk] KeyError: 'balance' when accessing the accounting dashboard
Public bug reported:
Using server, web and addons from trunk without demo data, I installed
the accounting module.
When I try to access the Accounting dashboard, I get:
Client Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/max/openerp/web/trunk/addons/web_graph/controllers/graph.py", line 77, in data_get
'data': map(lambda record: _orientation(_convert(x, record[x]), record[yaxis[0]] or 0), res),
File "/home/max/openerp/web/trunk/addons/web_graph/controllers/graph.py", line 77, in <lambda>
'data': map(lambda record: _orientation(_convert(x, record[x]), record[yaxis[0]] or 0), res),
KeyError: 'balance'
I removed the graph causing this issue, but then I get another error
message when accessing the dashboard:
Client Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 1512, in load
action_id = int(action_id)
TypeError: int() argument must be a string or a number, not 'NoneType'
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: accounting dashboard trunk
** Summary changed:
- [trunk] KeyError: 'balance'
+ [trunk] KeyError: 'balance' when accessing the accounting dashboard
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1024470
Title:
[trunk] KeyError: 'balance' when accessing the accounting dashboard
Status in OpenERP Addons (modules):
New
Bug description:
Using server, web and addons from trunk without demo data, I installed
the accounting module.
When I try to access the Accounting dashboard, I get:
Client Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/max/openerp/web/trunk/addons/web_graph/controllers/graph.py", line 77, in data_get
'data': map(lambda record: _orientation(_convert(x, record[x]), record[yaxis[0]] or 0), res),
File "/home/max/openerp/web/trunk/addons/web_graph/controllers/graph.py", line 77, in <lambda>
'data': map(lambda record: _orientation(_convert(x, record[x]), record[yaxis[0]] or 0), res),
KeyError: 'balance'
I removed the graph causing this issue, but then I get another error
message when accessing the dashboard:
Client Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 1512, in load
action_id = int(action_id)
TypeError: int() argument must be a string or a number, not 'NoneType'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1024470/+subscriptions
Follow ups
References