Error when change the day of week in the IWL

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

Bug Description

When I change the day of the week in the IWL and then re-create the seances with the option "IWL Check Seances" I get this message error:

Environment Information :
System : Linux-3.2.0-32-generic-pae-i686-with-Ubuntu-12.04-precise
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Operating System Release : 3.2.0-32-generic-pae
Operating System Version : #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012
Operating System Architecture : 32bit
Operating System Locale : ca_ES.UTF-8
Python Version : 2.7.3
OpenERP-Client Version : 6.1-20120810-233427
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/opt/openerp/server/openerp/service/netrpc_server.py", line 64, in run
    result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
  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 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_iwl/wizard/school_iwl_check_seances.py", line 46, in check_seances
    iwl_obj.check_seances(cr, uid, [x.id for x in wizard.iwl_ids], context=context)
  File "/opt/openerp/server/openerp/addons/school_iwl/school_iwl.py", line 340, in check_seances
    self.pool.get('school.seance').unlink(cr, uid, seance_ids_to_unlink)
  File "/opt/openerp/server/openerp/addons/school_attendance/school_attendance.py", line 781, in unlink
    'comment': _('Nulled for seance deletion'), })
  File "/opt/openerp/server/openerp/addons/contact_annotation/contact_state_range2.py", line 206, in create
    ret=super(contact_annotation, self).create(cr, uid, vals, context=context)
  File "/opt/openerp/server/openerp/addons/contact_annotation/contact_annotation.py", line 524, in create
    ret=super(contact_annotation, self).create(cr, uid, vals, context=context)
  File "/opt/openerp/server/openerp/osv/orm.py", line 4090, in create
    vals = self._add_missing_default_values(cr, user, vals, context)
  File "/opt/openerp/server/openerp/osv/orm.py", line 2383, in _add_missing_default_values
    defaults.update(values)
TypeError: cannot convert dictionary update sequence element #0 to a sequence

Pereerro (pereerro)
Changed in school-base-openerp-module:
status: New → In Progress
Revision history for this message
Pereerro (pereerro) wrote :

Work fine in last commit.

Changed in school-base-openerp-module:
status: In Progress → 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.