Skip to Content
Menu
This question has been flagged
2 Replies
1909 Views

Hello,

I did an update on every module from de command line with: odoo-bin -u all -d dbname


And now I cannot access to any form in the website. When I try for example to access to an employee, I can access to the kanban view and see employees but when I want to select an employee I have this error:

psycopg2.ProgrammingError: ERROR: permission denied for relation hr_leave_report

I have know ideas to what to do for solve that.

Thanks in advance for your help

Avatar
Discard
Author Best Answer

Thank you very much for your help. I solve the problem by upgrading the postgres privileges to the user Odoo

 
Label
Avatar
Discard
Best Answer

I think you need to give access from pgadmin to that form id in your case 'hr_leave_report'. Use this command to add the access.

GRANT USAGE, SELECT ON SEQUENCE your_id TO your_username;

Avatar
Discard