[IMP] project: update task report for easier override
Aliasing the fields in the select clause of the task report allow to do joins latter when inheriting from this object without getting ambiguous fields errors. related task 2009563
This commit is contained in:
@@ -66,19 +66,19 @@ class ReportProjectTaskUser(models.Model):
|
||||
group_by_str = """
|
||||
GROUP BY
|
||||
t.id,
|
||||
create_date,
|
||||
write_date,
|
||||
date_assign,
|
||||
date_end,
|
||||
date_deadline,
|
||||
date_last_stage_update,
|
||||
t.create_date,
|
||||
t.write_date,
|
||||
t.date_assign,
|
||||
t.date_end,
|
||||
t.date_deadline,
|
||||
t.date_last_stage_update,
|
||||
t.user_id,
|
||||
t.project_id,
|
||||
t.priority,
|
||||
name,
|
||||
t.name,
|
||||
t.company_id,
|
||||
t.partner_id,
|
||||
stage_id
|
||||
t.stage_id
|
||||
"""
|
||||
return group_by_str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user