← Back to team overview

credativ team mailing list archive

[Bug 909009] [NEW] Warehouse: "Warehouse Dashboard" is not able to open from GTK client

 

Public bug reported:

Warehouse > Reporting > Dashboard > Warehouse Dashboard

Wizard is not able to open and generating Traceback at client side as
follow:


Traceback (most recent call last):
  File "/home/han/rdtool/client/trunk/bin/modules/gui/window/tree.py", line 212, in sig_open
    if not self.sig_action(widget, 'tree_but_open', warning=False):
  File "/home/han/rdtool/client/trunk/bin/modules/gui/window/tree.py", line 201, in sig_action
    warning=warning)
  File "/home/han/rdtool/client/trunk/bin/modules/action/main.py", line 206, in exec_keyword
    self._exec_action(action, data, context=context)
  File "/home/han/rdtool/client/trunk/bin/modules/action/main.py", line 147, in _exec_action
    limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
  File "/home/han/rdtool/client/trunk/bin/modules/gui/window/__init__.py", line 48, in create
    auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
  File "/home/han/rdtool/client/trunk/bin/modules/gui/window/form.py", line 75, in __init__
    show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
  File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 136, in __init__
    self.display()
  File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 819, in display
    self.current_view.display()
  File "/home/han/rdtool/client/trunk/bin/widget/view/form.py", line 422, in display
    widget.display(model, state)
  File "/home/han/rdtool/client/trunk/bin/widget/view/form.py", line 43, in display
    self.widget.display(model, False)
  File "/home/han/rdtool/client/trunk/bin/widget/view/form_gtk/action.py", line 107, in display
    self.screen.load(res_id)
  File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 810, in load
    self.display(ids[0])
  File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 819, in display
    self.current_view.display()
  File "/home/han/rdtool/client/trunk/bin/widget/view/graph.py", line 60, in display
    self.view.display(self.screen.models)
  File "/home/han/rdtool/client/trunk/bin/widget/view/graph_gtk/graph.py", line 135, in display
    tinygraph.tinygraph(self._subplot, self.attrs.get('type', 'pie'), self.axis, self.axis_data, datas, axis_group_field=self.axis_group, orientation=self.attrs.get('orientation', 'vertical'))
  File "/home/han/rdtool/client/trunk/bin/tinygraph/__init__.py", line 63, in tinygraph
    oper = operators[axis_data[field].get('operator', '+')]
KeyError: 'avg'

** Affects: openobject-addons
     Importance: Low
     Assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2)
         Status: Confirmed

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/909009

Title:
  Warehouse: "Warehouse Dashboard" is not able to open from GTK client

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Warehouse > Reporting > Dashboard > Warehouse Dashboard

  Wizard is not able to open and generating Traceback at client side as
  follow:

  
  Traceback (most recent call last):
    File "/home/han/rdtool/client/trunk/bin/modules/gui/window/tree.py", line 212, in sig_open
      if not self.sig_action(widget, 'tree_but_open', warning=False):
    File "/home/han/rdtool/client/trunk/bin/modules/gui/window/tree.py", line 201, in sig_action
      warning=warning)
    File "/home/han/rdtool/client/trunk/bin/modules/action/main.py", line 206, in exec_keyword
      self._exec_action(action, data, context=context)
    File "/home/han/rdtool/client/trunk/bin/modules/action/main.py", line 147, in _exec_action
      limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
    File "/home/han/rdtool/client/trunk/bin/modules/gui/window/__init__.py", line 48, in create
      auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
    File "/home/han/rdtool/client/trunk/bin/modules/gui/window/form.py", line 75, in __init__
      show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
    File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 136, in __init__
      self.display()
    File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 819, in display
      self.current_view.display()
    File "/home/han/rdtool/client/trunk/bin/widget/view/form.py", line 422, in display
      widget.display(model, state)
    File "/home/han/rdtool/client/trunk/bin/widget/view/form.py", line 43, in display
      self.widget.display(model, False)
    File "/home/han/rdtool/client/trunk/bin/widget/view/form_gtk/action.py", line 107, in display
      self.screen.load(res_id)
    File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 810, in load
      self.display(ids[0])
    File "/home/han/rdtool/client/trunk/bin/widget/screen/screen.py", line 819, in display
      self.current_view.display()
    File "/home/han/rdtool/client/trunk/bin/widget/view/graph.py", line 60, in display
      self.view.display(self.screen.models)
    File "/home/han/rdtool/client/trunk/bin/widget/view/graph_gtk/graph.py", line 135, in display
      tinygraph.tinygraph(self._subplot, self.attrs.get('type', 'pie'), self.axis, self.axis_data, datas, axis_group_field=self.axis_group, orientation=self.attrs.get('orientation', 'vertical'))
    File "/home/han/rdtool/client/trunk/bin/tinygraph/__init__.py", line 63, in tinygraph
      oper = operators[axis_data[field].get('operator', '+')]
  KeyError: 'avg'

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


Follow ups

References