← Back to team overview

openerp-india team mailing list archive

[Bug 886519] [NEW] Accounting Dashboard : printing error

 

Public bug reported:

With mature 6.0:
client6.0 : rev 1911
addons6.0 : rev 4906
server6.0 : rev 3531

Accounting>Reporting>Dashboard>Accounting Dashboard, you can see 4 views.
On the account.entries.report.tree (Company Analysis):
If you group by accounts, and you print this:
A pop up displays an error:
account_id
(<type 'exceptions.KeyError'>, KeyError
('account_id',), <traceback object at 0x9841e8c>)

The log server displays :

[2011-11-05 13:06:52,947][stable6] ERROR:web-services:[01]: Exception: 'account_id'
[2011-11-05 13:06:52,947][stable6] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-11-05 13:06:52,947][stable6] ERROR:web-services:[03]:   File "/home/romain/6.0/bin/service/web_services.py", line 724, in go
[2011-11-05 13:06:52,948][stable6] ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
[2011-11-05 13:06:52,948][stable6] ERROR:web-services:[05]:   File "/home/romain/6.0/bin/report/printscreen/ps_list.py", line 116, in create
[2011-11-05 13:06:52,948][stable6] ERROR:web-services:[06]:     res = self._create_table(uid, datas['ids'], result['fields'], fields_order, rows, context, model_desc)
[2011-11-05 13:06:52,948][stable6] ERROR:web-services:[07]:   File "/home/romain/6.0/bin/report/printscreen/ps_list.py", line 153, in _create_table
[2011-11-05 13:06:52,948][stable6] ERROR:web-services:[08]:     if fields[f]['type'] in ('date','time','datetime','float','integer'):
[2011-11-05 13:06:52,948][stable6] ERROR:web-services:[09]: KeyError: 'account_id'

Romain

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/886519

Title:
  Accounting Dashboard : printing error

Status in OpenERP Server:
  New

Bug description:
  With mature 6.0:
  client6.0 : rev 1911
  addons6.0 : rev 4906
  server6.0 : rev 3531

  Accounting>Reporting>Dashboard>Accounting Dashboard, you can see 4 views.
  On the account.entries.report.tree (Company Analysis):
  If you group by accounts, and you print this:
  A pop up displays an error:
  account_id
  (<type 'exceptions.KeyError'>, KeyError
  ('account_id',), <traceback object at 0x9841e8c>)

  The log server displays :

  [2011-11-05 13:06:52,947][stable6] ERROR:web-services:[01]: Exception: 'account_id'
  [2011-11-05 13:06:52,947][stable6] ERROR:web-services:[02]: Traceback (most recent call last):
  [2011-11-05 13:06:52,947][stable6] ERROR:web-services:[03]:   File "/home/romain/6.0/bin/service/web_services.py", line 724, in go
  [2011-11-05 13:06:52,948][stable6] ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
  [2011-11-05 13:06:52,948][stable6] ERROR:web-services:[05]:   File "/home/romain/6.0/bin/report/printscreen/ps_list.py", line 116, in create
  [2011-11-05 13:06:52,948][stable6] ERROR:web-services:[06]:     res = self._create_table(uid, datas['ids'], result['fields'], fields_order, rows, context, model_desc)
  [2011-11-05 13:06:52,948][stable6] ERROR:web-services:[07]:   File "/home/romain/6.0/bin/report/printscreen/ps_list.py", line 153, in _create_table
  [2011-11-05 13:06:52,948][stable6] ERROR:web-services:[08]:     if fields[f]['type'] in ('date','time','datetime','float','integer'):
  [2011-11-05 13:06:52,948][stable6] ERROR:web-services:[09]: KeyError: 'account_id'

  Romain

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/886519/+subscriptions


Follow ups

References