Error when update the attendance wizard

Bug #1152661 reported by Pau Gangonells (Tecnoba)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
school-openerp-module
Fix Committed
Critical
Pereerro

Bug Description

This is the error message:

Client Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1052, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 996, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1010, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/opt/openerp/server/openerp/addons/web/common/http.py", line 608, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

Server Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/common/http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/server/openerp/addons/school_attendance/school_attendance.py", line 647, in act_update
    'user_id': uid, 'datetime': datetime.today().strftime('%Y-%m-%d %H:%M:%S')})
  File "/opt/openerp/server/openerp/addons/school_attendance/school_attendance.py", line 686, in create
    self.pool.get('school.seance').write(cr, USER_MANAGER_ID, [seance.id], {'state': 'closed'})
  File "/opt/openerp/server/openerp/addons/school_attendance/school_attendance.py", line 742, in write
    ret = super(school_seance, self).write(cr, uid, ids, vals, context=context)
  File "/opt/openerp/server/openerp/addons/school_extension/school_seance_part_state.py", line 221, in write
    self.unlink_sps(cr, uid, ids, context)
  File "/opt/openerp/server/openerp/addons/school_extension/school_seance_part_state.py", line 181, in unlink_sps
    ('participation_id.participant','in',dicci['contact_ids'])])
KeyError: 'contact_ids'

Pereerro (pereerro)
Changed in school-base-openerp-module:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.