c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #11477
[Bug 700470] [NEW] [V6 rc2] Can't display project structure
Public bug reported:
hello,
Try to display the project structure (projects grouped by parent)
Traceback (most recent call last):
File "/home/odoo/openerp/server/bin/netsvc.py", line 490, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/odoo/openerp/server/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/openerp/server/bin/osv/orm.py", line 2182, in read_group
cr.execute('SELECT min(%s.id) AS id, count(%s.id) AS %s_count' % (self._table, self._table, group_count) + (flist and ',') + flist + ' FROM ' + from_clause + where_clause + gb + limit_str + offset_str, where_clause_params)
File "/home/odoo/openerp/server/bin/sql_db.py", line 76, in wrapper
return f(self, *args, **kwargs)
File "/home/odoo/openerp/server/bin/sql_db.py", line 129, in execute
res = self._obj.execute(query, params)
ProgrammingError: column reference "parent_id" is ambiguous
LINE 1: ... id, count(project_project.id) AS parent_id_count,parent_id,...
^
** Affects: openobject-client-web
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/700470
Title:
[V6 rc2] Can't display project structure
Status in OpenObject Web Client:
New
Bug description:
hello,
Try to display the project structure (projects grouped by parent)
Traceback (most recent call last):
File "/home/odoo/openerp/server/bin/netsvc.py", line 490, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/odoo/openerp/server/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/openerp/server/bin/osv/orm.py", line 2182, in read_group
cr.execute('SELECT min(%s.id) AS id, count(%s.id) AS %s_count' % (self._table, self._table, group_count) + (flist and ',') + flist + ' FROM ' + from_clause + where_clause + gb + limit_str + offset_str, where_clause_params)
File "/home/odoo/openerp/server/bin/sql_db.py", line 76, in wrapper
return f(self, *args, **kwargs)
File "/home/odoo/openerp/server/bin/sql_db.py", line 129, in execute
res = self._obj.execute(query, params)
ProgrammingError: column reference "parent_id" is ambiguous
LINE 1: ... id, count(project_project.id) AS parent_id_count,parent_id,...
^
Follow ups
References