← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 744038] [NEW] Wizard doesn't get opened when returned from another wizard.

 

Public bug reported:

I get the following error when I tried to open a wizard which was being
called from another wizard.

Traceback (most recent call last):
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form_gtk/parser.py", line 123, in button_clicked
    model.get_button_action(self.form.screen, id, self.attrs)
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/model/record.py", line 380, in get_button_action
    obj._exec_action(result, {}, context=context)
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/modules/action/main.py", line 133, in _exec_action
    view_type=datas.get('view_mode', 'tree').split(','), help=help)
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form_gtk/many2one.py", line 83, in __init__
    self.screen.new()
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/screen/screen.py", line 634, in new
    self.display()
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/screen/screen.py", line 782, in display
    self.current_view.display()
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form.py", line 407, in display
    widget.attrs_set(model)
  File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form_gtk/parser.py", line 165, in attrs_set
    if model and  model.state_attrs.get(sa['name']): 
KeyError: 'name'

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

-- 
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/744038

Title:
  Wizard doesn't get opened when returned from another wizard.

Status in OpenERP GTK Client:
  New

Bug description:
  I get the following error when I tried to open a wizard which was
  being called from another wizard.

  Traceback (most recent call last):
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form_gtk/parser.py", line 123, in button_clicked
      model.get_button_action(self.form.screen, id, self.attrs)
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/model/record.py", line 380, in get_button_action
      obj._exec_action(result, {}, context=context)
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/modules/action/main.py", line 133, in _exec_action
      view_type=datas.get('view_mode', 'tree').split(','), help=help)
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form_gtk/many2one.py", line 83, in __init__
      self.screen.new()
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/screen/screen.py", line 634, in new
      self.display()
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/screen/screen.py", line 782, in display
      self.current_view.display()
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form.py", line 407, in display
      widget.attrs_set(model)
    File "/home/uco/workspace/branches/rdtools/client/trunk/bin/widget/view/form_gtk/parser.py", line 165, in attrs_set
      if model and  model.state_attrs.get(sa['name']): 
  KeyError: 'name'



Follow ups

References