Bug in the tree view of the projects, when grouping by parent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
OpenERP R&D Addons Team 1 |
Bug Description
Consider a hierarchical list of projects, with parent-child relation.
Try to group by "Parent" and you'll get an error such as:
Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_CH.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/
result = ExportService.
File "/usr/local/
res = fn(db, uid, *params)
File "/usr/local/
return f(self, dbname, *args, **kwargs)
File "/usr/local/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/
cr.
File "/usr/local/
return f(self, *args, **kwargs)
File "/usr/local/
res = self._obj.
ProgrammingError: ERREUR: la référence à la colonne « parent_id » est ambigu
LIGNE 1 : ... id, count(project_
I think there is an error while constructing the query while grouping by parent: the colun 'parent_id' may be related to more than one table
Grouping by "Partner" and/or by "Manager" is okay.
Best regards
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Changed in openobject-addons: | |
milestone: | none → 6.0 |
Hello,
The problem occurs due to the ambiguous reference of the field parent_id in tables account_ analytic_ account and project_project.
Thanks.