← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

This issue was already fixed in the dev_client branch but was waiting
for the merge. Now it has been merged to the trunk client at revision
1787.

Please update your trunk client and everything should be OK.


Thanks,


** Changed in: openobject-client
       Status: New => Fix Released

** Changed in: openobject-client
    Milestone: None => 6.0

** Changed in: openobject-client
   Importance: Undecided => Medium

** Changed in: openobject-client
     Assignee: (unassigned) => OpenERP sa GTK client R&D (openerp-dev-gtk)

-- 
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:
  Fix Released

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