Odoo Help


ProgrammingError: relation "report_project_task_user" does not exist.!

Nilmar Shereef
on 11/16/16, 6:04 AM 1,042 views

I extended Project Task model, It working good. But now A strange error is raising.

ProgrammingError: relation "report_project_task_user" does not exist

 Anyone can solve this? (I found so many reporting with same issue having zero answer)




| 4 4 6
Hyderabad, India

On 2/14/17, 2:04 AM


It might be late for the reply, please check if you find it useful.

"report_project_task_user" is basically a 'view' in postgres which is dropped and created automatically from data of project_task object whenever project module is installed or updated. 

so, once you have extended the task master and update the module, this view will be dropped and recreated automatically.

There must be some issue with postgres relation(project_task) while odoo tries to recreate this view. Please refer to following scenarios:

  • have you extended with _inherit and _name attributes(if "_name" is used in inherited object then it will create new object with same name, which may conflict the sql query used for creating required view)

  • all the fields still exist in project_task master(mainly the fields used for fetching data in sql query for creating view)?

  • If above things are fine, then use the query from "project/report/project_report.py" and try executing it directly in postgres, this will through you the error if any.

Hope it helps!!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/16/16, 6:04 AM
Seen: 1042 times
Last updated: 2/14/17, 2:04 AM