It does not work the wizard to justify states

Bug #1067582 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 reporting
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 617, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 641, in exp_execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/opt/openerp/server/openerp/service/web_services.py", line 623, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/opt/openerp/server/openerp/wizard/__init__.py", line 185, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/opt/openerp/server/openerp/wizard/__init__.py", line 90, in execute_cr
    res['action'] = result_def['action'](self, cr, uid, data, context)
  File "/opt/openerp/server/openerp/addons/school_attendance/school_attendance.py", line 960, in _open_wizard
    result = act_obj.read(cr, uid, [id], [])[0]
  File "/opt/openerp/server/openerp/addons/hr/hr_department.py", line 94, in read
    res = super(ir_action_window, self).read(cr, uid, select, fields=fields, context=context, load=load)
  File "/opt/openerp/server/openerp/osv/orm.py", line 3416, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/opt/openerp/server/openerp/osv/orm.py", line 3539, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/opt/openerp/server/openerp/osv/fields.py", line 1129, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_actions.py", line 242, in _search_view
    form_arch = self.pool.get(act.res_model).fields_view_get(cr, uid, False, 'form', context)
  File "/opt/openerp/server/openerp/osv/orm.py", line 2153, in fields_view_get
    xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
  File "/opt/openerp/server/openerp/osv/orm.py", line 1793, in __view_look_dom_arch
    fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
  File "/opt/openerp/server/openerp/osv/orm.py", line 1742, in __view_look_dom
    fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
  File "/opt/openerp/server/openerp/osv/orm.py", line 1691, in __view_look_dom
    transfer_field_to_modifiers(field, modifiers)
  File "/opt/openerp/server/openerp/osv/orm.py", line 84, in transfer_field_to_modifiers
    if default_values[modif[0]] != modif[1]:
KeyError: 'r'

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.