From f04408b5ec90d7fffb2df80397825d533ffecdc5 Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Thu, 18 Feb 2021 20:26:55 +0530 Subject: [PATCH] table changes --- cor_custom/report/project_hours_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cor_custom/report/project_hours_report.py b/cor_custom/report/project_hours_report.py index 22add7e..2d9a23e 100755 --- a/cor_custom/report/project_hours_report.py +++ b/cor_custom/report/project_hours_report.py @@ -13,7 +13,7 @@ class BudgetHrsAnalysis(models.Model): _auto = False project_id = fields.Many2one('project.project', string='Project', readonly=True) - user_id = fields.Many2one('res.user', related='project_id.user_id') + user_id = fields.Many2one('res.users', related='project_id.user_id') employee_id = fields.Many2one('hr.employee', string='Consultant', readonly=True) start_date = fields.Date(string='Start Date', readonly=True) end_date = fields.Date(string='End Date', readonly=True)