project_planning : Failed to search user, KeyError: 'parent_id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 1 |
Bug Description
* Project/Long Term Planning/Plannings
* Form View :
* Time Encoding[Planning Lines]
* user_id (many2one): when you search for user following error appears:
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1664 launchpad_
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
ids = self.search(cr, user, [('name'
File "/home/
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/
query = self._where_
File "/home/
e.parse(cr, user, self, context)
File "/home/
dom = _rec_get(right, working_table)
File "/home/
return [(left, 'in', rg(ids, table, parent or table._
File "/home/
ids2 = table.search(cr, uid, [(parent, 'in', ids)], context=context)
File "/home/
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/
query = self._where_
File "/home/
where_clause, where_params = e.to_sql()
File "/home/
q, p = self.__
File "/home/
instr = ','.join(
KeyError: 'parent_id'
Related branches
- xrg (community): Disapprove
-
Diff: 218 lines (+66/-23)8 files modifiedcaldav/caldav_view.xml (+1/-0)
caldav/calendar.py (+18/-2)
crm_caldav/crm_caldav_data.xml (+2/-2)
crm_caldav/crm_caldav_setup.xml (+2/-2)
document/document.py (+31/-1)
document/document_data.xml (+4/-1)
document/std_index.py (+6/-14)
document_ftp/wizard/ftp_configuration.py (+2/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.0-rc2 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Hello,
Actually the problem is domain allocation for user_id in view file. "[('id' ,'child_ of',[parent. user_id] )]"/>
<field name="user_id" domain=
Thanks