← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704671] Re: [V6rc2] create new one2many -> Nonetype has no attribute signal

 

Reverting to revision 1778 problem does not occur.  Suspect the error
occurred in rev 1779 - 1369.1.70

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

Title:
  [V6rc2] create new one2many -> Nonetype  has no attribute signal

Status in OpenObject GTK Client:
  New

Bug description:
  Client revision 1784
  Server revision 3294

  Ubuntu 10.04 i386 latest update

  Following happens at least at: new product -> add new supplier in
  suppliers tab

  Traceback (most recent call last):
    File "/home/ruben/workspace/openobject-client/bin/widget/view/form_gtk/one2many_list.py", line 323, in _sig_new
      dia = dialog(self.attrs['relation'], parent=self._view.model, attrs=self.attrs, model_ctx=self.screen.models._context, window=self._window, readonly=self._readonly, context=ctx)
    File "/home/ruben/workspace/openobject-client/bin/widget/view/form_gtk/one2many_list.py", line 107, in __init__
      context=context)
    File "/home/ruben/workspace/openobject-client/bin/widget/screen/screen.py", line 582, in add_view_id
      toolbar=view.get('toolbar', False), submenu=view.get('submenu', False), context=context)
    File "/home/ruben/workspace/openobject-client/bin/widget/screen/screen.py", line 619, in add_view
      self.models.add_fields(fields, self.models, context=context)
    File "/home/ruben/workspace/openobject-client/bin/widget/model/group.py", line 408, in add_fields
      mod.set_default(values)
    File "/home/ruben/workspace/openobject-client/bin/widget/model/record.py", line 232, in set_default
      self.mgroup.mfields[fieldname].set_default(self, value)
    File "/home/ruben/workspace/openobject-client/bin/widget/model/field.py", line 445, in set_default
      mod.signal('record-changed')
  AttributeError: 'NoneType' object has no attribute 'signal'





References