On a working configuration and database, the following error occurs after updating to the latest version :
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 435, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/hr/hr_department.py", line 98, in read
res = super(ir_action_window, self).read(cr, uid, select, fields=fields, context=context, load=load)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2984, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 3135, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/fields.py", line 697, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_actions.py", line 181, in _search_view
field_get = self.pool.get(act.res_model).fields_view_get(cr, uid, search_view_id, 'search', context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1707, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1369, in __view_look_dom_arch
fields_def = self.__view_look_dom(cr, user, node, view_id, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1364, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, context))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1331, in __view_look_dom
attrs['selection'] = relation._name_search(cr, user, '', dom, context=search_context, limit=None, name_get_uid=1)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1873, in _name_search
ids = self._search(cr, user, args, limit=limit, context=context, access_rights_uid=access_rights_uid)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 4073, in _search
cr.execute('select %s.id from ' % self._table + ','.join(tables) + where_str + order_by + limit_str+offset_str, where_clause_params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 75, in wrapper
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 124, in execute
res = self._obj.execute(query, params)
ProgrammingError: column "complete_name" does not exist
LINE 1: ...HERE (crm_case_section.active = E'True') ORDER BY complete_n...
^
It has been fixed by revision <email address hidden>.
Thanks.