← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 742574] [NEW] [TRUNK] open meeting from view => trace back

 

Public bug reported:

Last version of trunk : 
Open the meeting, go on the form views (clicking on a meeting in calendar view) : get this trace back 
DEBUG_RPC:rpc.request:('execute', '5_calendar', 1, '*', ('crm.meeting', 'read', [25], ['allday', 'partner_address_id', 'we', 'rrule', 'duration', 'organizer', 'partner_id', 'user_id', 'tu', 'recurrency', 'week_list', 'show_as', 'recurrent_uid', 'attendee_ids', 'state', 'location', 'th', 'day', 'fr', 'description', 'end_date', 'section_id', 'edit_all', 'end_type', 'date', 'categ_id', 'class', 'count', 'byday', 'name', 'date_deadline', 'mo', 'interval', 'su', 'rrule_type', 'alarm_id', 'recurrent_id', 'sa', 'email_from', 'select1', '__last_update'], {'lang': 'en_US', 'virtual_id': True, 'tz': False, 'active_model': 'ir.ui.menu', 'section_id': False, 'search_default_section_id': False, 'bin_size': True, 'search_default_user_id': 1, 'active_ids': [125], 'active_id': 125}))
DEBUG_RPC_ANSWER:rpc.result:[{'allday': False, 'partner_address_id': False, 'fr': False, 'rrule': '', 'duration': 1.0, 'organizer': 'Administrator', 'partner_id': False, 'id': 25, 'user_id': [1, 'Administrator'], '__last_update': '2011-03-23 16:10:15.847765', 'tu': False, 'recurrency': False, 'week_list': False, 'day': 0, 'recurrent_uid': 24, 'attendee_ids': [], 'state': 'draft', 'location': False, 'th': False, 'we': False, 'description': False, 'end_date': False, 'section_id': False, 'edit_all': False, 'date': '2011-03-25 14:27:00', 'byday': False, 'categ_id': [1, 'Customer Meeting'], 'class': 'public', 'count': 3, 'end_type': 'count', 'name': 'test', 'date_deadline': '2011-03-25 15:27:00', 'mo': False, 'interval': 1, 'su': False, 'email_from': False, 'alarm_id': False, 'recurrent_id': '2011-03-25 14:27:00', 'select1': 'date', 'sa': False, 'rrule_type': 'none', 'show_as': 'busy'}]
Traceback (most recent call last):
  File "/home/openerp/source/client/trunk/bin/modules/gui/main.py", line 1345, in _sig_child_call
    res = wid.handlers[button_name]()
  File "/home/openerp/source/client/trunk/bin/modules/gui/window/form.py", line 358, in sig_next
    self.screen.display_next()
  File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 858, in display_next
    self.check_state()
  File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 883, in check_state
    self.current_model.validate_set()
  File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 190, in validate_set
    self.reload()
  File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 265, in reload
    return self._reload(self.mgroup.mfields.keys() + [CONCURRENCY_CHECK_FIELD])
  File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 279, in _reload
    self.set(value)
  File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 262, in set
    self.signal('record-changed')
  File "/home/openerp/source/client/trunk/bin/signal_event.py", line 28, in signal
    fnct(self, signal_data, *data)
  File "/home/openerp/source/client/trunk/bin/widget/model/group.py", line 306, in _record_changed
    self.signal('model-changed', model)
  File "/home/openerp/source/client/trunk/bin/signal_event.py", line 28, in signal
    fnct(self, signal_data, *data)
  File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 410, in _model_changed
    self.display()
  File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 782, in display
    self.current_view.display()
  File "/home/openerp/source/client/trunk/bin/widget/view/form.py", line 407, in display
    widget.attrs_set(model)
  File "/home/openerp/source/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'


This traceback appear client side

** Affects: openobject-client
     Importance: Low
         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/742574

Title:
  [TRUNK] open meeting from view => trace back

Status in OpenERP GTK Client:
  New

Bug description:
  Last version of trunk : 
  Open the meeting, go on the form views (clicking on a meeting in calendar view) : get this trace back 
  DEBUG_RPC:rpc.request:('execute', '5_calendar', 1, '*', ('crm.meeting', 'read', [25], ['allday', 'partner_address_id', 'we', 'rrule', 'duration', 'organizer', 'partner_id', 'user_id', 'tu', 'recurrency', 'week_list', 'show_as', 'recurrent_uid', 'attendee_ids', 'state', 'location', 'th', 'day', 'fr', 'description', 'end_date', 'section_id', 'edit_all', 'end_type', 'date', 'categ_id', 'class', 'count', 'byday', 'name', 'date_deadline', 'mo', 'interval', 'su', 'rrule_type', 'alarm_id', 'recurrent_id', 'sa', 'email_from', 'select1', '__last_update'], {'lang': 'en_US', 'virtual_id': True, 'tz': False, 'active_model': 'ir.ui.menu', 'section_id': False, 'search_default_section_id': False, 'bin_size': True, 'search_default_user_id': 1, 'active_ids': [125], 'active_id': 125}))
  DEBUG_RPC_ANSWER:rpc.result:[{'allday': False, 'partner_address_id': False, 'fr': False, 'rrule': '', 'duration': 1.0, 'organizer': 'Administrator', 'partner_id': False, 'id': 25, 'user_id': [1, 'Administrator'], '__last_update': '2011-03-23 16:10:15.847765', 'tu': False, 'recurrency': False, 'week_list': False, 'day': 0, 'recurrent_uid': 24, 'attendee_ids': [], 'state': 'draft', 'location': False, 'th': False, 'we': False, 'description': False, 'end_date': False, 'section_id': False, 'edit_all': False, 'date': '2011-03-25 14:27:00', 'byday': False, 'categ_id': [1, 'Customer Meeting'], 'class': 'public', 'count': 3, 'end_type': 'count', 'name': 'test', 'date_deadline': '2011-03-25 15:27:00', 'mo': False, 'interval': 1, 'su': False, 'email_from': False, 'alarm_id': False, 'recurrent_id': '2011-03-25 14:27:00', 'select1': 'date', 'sa': False, 'rrule_type': 'none', 'show_as': 'busy'}]
  Traceback (most recent call last):
    File "/home/openerp/source/client/trunk/bin/modules/gui/main.py", line 1345, in _sig_child_call
      res = wid.handlers[button_name]()
    File "/home/openerp/source/client/trunk/bin/modules/gui/window/form.py", line 358, in sig_next
      self.screen.display_next()
    File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 858, in display_next
      self.check_state()
    File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 883, in check_state
      self.current_model.validate_set()
    File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 190, in validate_set
      self.reload()
    File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 265, in reload
      return self._reload(self.mgroup.mfields.keys() + [CONCURRENCY_CHECK_FIELD])
    File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 279, in _reload
      self.set(value)
    File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 262, in set
      self.signal('record-changed')
    File "/home/openerp/source/client/trunk/bin/signal_event.py", line 28, in signal
      fnct(self, signal_data, *data)
    File "/home/openerp/source/client/trunk/bin/widget/model/group.py", line 306, in _record_changed
      self.signal('model-changed', model)
    File "/home/openerp/source/client/trunk/bin/signal_event.py", line 28, in signal
      fnct(self, signal_data, *data)
    File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 410, in _model_changed
      self.display()
    File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 782, in display
      self.current_view.display()
    File "/home/openerp/source/client/trunk/bin/widget/view/form.py", line 407, in display
      widget.attrs_set(model)
    File "/home/openerp/source/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'

  
  This traceback appear client side



Follow ups

References