[6.0] View user error with installation (only) of base

Bug #585629 reported by Moisés López - http://www.vauxoo.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

I installed with ony base module, i open administration / users / Form View and I get the next error:

Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : es_MX.cp1252
Python Version : 2.5.1
OpenERP-Client Version : 6.0dev
Last revision No. & ID :1308 codehost@crowberry-20100525034222-f9xd0yrk8f4aqbde
Traceback (most recent call last):
  File "trunk\server\bin\netsvc.py", line 394, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "trunk\server\bin\service\web_services.py", line 587, in dispatch
    res = fn(db, uid, *params)
  File "trunk\server\bin\osv\osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "trunk\server\bin\osv\osv.py", line 133, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "trunk\server\bin\osv\osv.py", line 123, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "trunk\server\bin\addons\base\res\res_user.py", line 257, in read
    result = super(users, self).read(cr, uid, ids, fields, context, load)
  File "trunk\server\bin\osv\orm.py", line 2745, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "trunk\server\bin\osv\orm.py", line 2876, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "trunk\server\bin\osv\fields.py", line 684, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "trunk\server\bin\addons\base\res\res_user.py", line 203, in _email_get
    return dict(map(operator.attrgetter('id', 'address_id.email'), self.browse(cr, uid, ids, context=context)))
  File "trunk\server\bin\osv\orm.py", line 294, in __getattr__
    raise AttributeError(e)
AttributeError: "Field 'address_id.email' does not exist in object 'browse_record(res.users, 1)'"

Related branches

Changed in openobject-server:
status: New → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed by revision 2281 <email address hidden>.
Thanks.

Changed in openobject-server:
milestone: none → 6.0
status: Confirmed → Fix Released
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.