Review: Needs Fixing
Hello,

I am reopening this merge proposal ,there is a regression produced due to 
this... can you please improve and resubmit a fresh proposal

Create new customer ---> enter name--->click save ---> now click new(O2M) 
address --->click switch of (O2M) address--Traceback---> this may be a 
regression due to the changes in attrs & states
 
 Traceback (most recent call last):
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/view/form_gtk/one2many_list.py",
 line 283, in switch_view
    self.screen.switch_view()
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/screen/screen.py", 
line 532, in switch_view
    self.load_view_to_load()
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/screen/screen.py", 
line 569, in load_view_to_load
    self.add_view_id(view_id,type)
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/screen/screen.py", 
line 582, in add_view_id
    context=context)
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/screen/screen.py", 
line 626, in add_view
    self.models.add_fields(fields, self.models, context=context)
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/model/group.py", line 
413, in add_fields
    mod.set_default(values)
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/model/record.py", line 
239, in set_default
    self.signal('record-changed')
  File "/home/nch/workspace/OpenERP2011/Trunk/client/bin/signal_event.py", line 
28, in signal
    fnct(self, signal_data, *data)
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/model/group.py", line 
309, in _record_changed
    self.signal('model-changed', model)
  File "/home/nch/workspace/OpenERP2011/Trunk/client/bin/signal_event.py", line 
28, in signal
    fnct(self, signal_data, *data)
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/screen/screen.py", 
line 417, in _model_changed
    self.display()
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/screen/screen.py", 
line 809, in display
    self.current_view.display()
  File "/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/view/form.py", 
line 407, in display
    widget.display(model, state)
  File "/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/view/form.py", 
line 48, in display
    modelfield.state_set(model, state)
  File 
"/home/nch/workspace/OpenERP2011/Trunk/client/bin/widget/model/field.py", line 
164, in state_set
    if (self.attrs.get('readonly', False) or  ro) and  ro  or 
self.attrs['readonly']:
KeyError: 'readonly'


Thanks,
-- 
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-attrs_on_group-rga/+merge/57489
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client/trunk-attrs_on_group-rga.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to